input: 
  def scrape_links(url: str) -> List[str]:
      """ Scrape all the links from a given website URL.
      >>> scrape_links("http://www.example.com/")
      ['http://www.iana.org/domains/example']
      """
      import requests as req
      from bs4 import BeautifulSoup
  
      # GET request
      r = req.get(url)
  
      # parse the downloaded homepage and grab all text
      soup = BeautifulSoup(r.text, "html.parser")
  
      # find and collect all links
      links = [link.get('href') for link in soup.find_all('a')]
      
      return links
  
output:     # filter out None values and non-HTTP(S) links
      links = [link for link in links if link and (link.startswith('http://') or link.startswith('https://'))]
      
      return links