input: 
  def scrape_links(url: str) -> List[str]:
      """ Scrape and return all links from a given website URL.
      >>> scrape_links("http://www.example.com/")
      ['http://www.example.com/link1', 'http://www.example.com/link2']
      >>> scrape_links("http://www.dummy.com/")
      ['http://www.dummy.com/dummy1', 'http://www.dummy.com/dummy2']
      """
      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 return all links
      links = [link.get('href') for link in soup.find_all('a')]
      return links
  
output:     filtered_links = []
      for link in links:
          if link and link.startswith('http'):
              filtered_links.append(link)
      return filtered_links