input: from typing import List
  
  def scrape_website_links(URL: str) -> List[str]:
      """
      Build a web scraper in Python that collects all the links from a given website.
      >>> scrape_website_links("http://www.example.com/")
      ['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 convert relative URLs to absolute URLs
      base_url = req.utils.urlparse(URL).scheme + "://" + req.utils.urlparse(URL).hostname
      links = [link if link.startswith('http') else base_url + link for link in links if link]
      
      # Remove duplicates
      links = list(set(links))
      
      return links