input: 
  def extract_links_from_web_page(url: str) -> list:
      """
      Collects all the links from the given website URL.
  
      >>> extract_links_from_web_page("http://www.example.com/")
      ['http://www.iana.org/domains/example']
      >>> extract_links_from_web_page("http://www.google.com/")
      ['/intl/en/policies/privacy/', '/intl/en/policies/terms/', '/services/', ...]
      """
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.text, "html.parser")
      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') or link.startswith('/')):
              filtered_links.append(link)
      
      return filtered_links