input: 
  def web_scraper(url: str) -> List[str]:
      """ Create a web scraper that extracts all URLs from a given webpage using the BeautifulSoup package.
      >>> web_scraper("http://example.com")
      ['http://example.com/page1', 'http://example.com/page2']
      >>> web_scraper("http://test.com")
      ['http://test.com/test1', 'http://test.com/test2']
      """
  
output:     
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      urls = [link.get('href') for link in soup.find_all('a') if link.get('href')]
      return urls
  