code: def extract_original_links(base_url, bs4):
      
      valid_url = convert_invalid_url(base_url)
  
      url = urlparse(valid_url)
  
      base_url = '{}://{}'.format(url.scheme, url.netloc)
  
      base_url_with_www = '{}://www.{}'.format(url.scheme, url.netloc)
  
      links = extract_links(bs4)
  
      result_links = [anchor for anchor in links if anchor.startswith(base_url)]
  
      result_links_www = [anchor for anchor in links if anchor.startswith(base_url_with_www)]
  
      return list(set(result_links + result_links_www))
docs: Extracting links that contains specific url from BeautifulSoup object
  
      :param base_url: `str` specific url that matched with the links
      :param bs4: `BeautifulSoup`
      :return: `list` List of links