input: 
  from typing import List
  
  
  def scrape_links(url: str) -> List[str]:
      """Given a URL, this function collects all the links from the webpage and returns them as a list of strings.
      >>> scrape_links("http://www.example.com/")
      ['http://www.iana.org/domains/example']
      """
  
output:     
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      links = [a['href'] for a in soup.find_all('a', href=True)]
      return links
  