input: 
  def scrape_webpage(url: str) -> List[str]:
      """ Scrape a given webpage and return all the links present on the webpage.
      >>> scrape_webpage("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') if link.get('href')]
      
      return links
  
output:     
      import re
      
      # Filter out non-HTTP/HTTPS links
      links = [link for link in links if re.match(r'^https?://', link)]
      
      return links
  