input: def scrape_website_links(url: str) -> List[str]:
      """ Scrapes all the links from a given website URL and returns them as a list.
      >>> scrape_website_links("http://www.example.com/")
      ['http://www.iana.org/domains/example']
      """
      import requests as req
      from bs4 import BeautifulSoup
  
      # GET request
      try:
          r = req.get(url)
          r.raise_for_status()
      except req.exceptions.RequestException as e:
          print(f"Error accessing URL: {e}")
          return []
  
      # 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') if link.get('href')]
  
      return links
output:     # Filter out non-HTTP(S) links and relative URLs
      filtered_links = []
      for link in links:
          if link.startswith('http'):
              filtered_links.append(link)
          elif link.startswith('/'):
              filtered_links.append(url + link)
  
      return filtered_links