input: 
  from typing import List
  
  def extract_urls(url_of_webpage: str) -> List[str]:
      """ Extracts all the URLs from the given webpage using the BeautifulSoup Python package.
      >>> extract_urls("http://example.com")
      ['http://example.com/page1', 'http://example.com/page2']
      >>> extract_urls("http://another-example.com")
      ['http://another-example.com/section1', 'http://another-example.com/section2']
      """
      import requests
      from bs4 import BeautifulSoup
  
      webpage = requests.get(url_of_webpage)
      soup = BeautifulSoup(webpage.content, 'html.parser')
      links = soup.find_all('a')
      
      return [link.get('href') for link in links if link.get('href')]
  
output:     urls = []
      for link in links:
          href = link.get('href')
          if href and href.startswith('http'):
              urls.append(href)
      return urls