input: from typing import List
  
  def scrape_links_from_website(url: str) -> List[str]:
      """
      Scrape a webpage and collect all the links from it.
      >>> scrape_links_from_website("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 non-http/https links
      links = [link for link in links if link and link.startswith(('http://', 'https://'))]
      
      return links