input: from typing import List
  
  def collect_all_links(url: str) -> List[str]:
      """ Build a web scraper in Python that collects all the links from a given website URL.
      >>> collect_all_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 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