input: def extract_data_from_web(url: str) -> list:
      """Extracts URLs from a given webpage using BeautifulSoup.
      
      >>> extract_data_from_web("https://example.com")
      ['https://example.com/link1', 'https://example.com/link2']
      """
      import requests
      from bs4 import BeautifulSoup
  
      # Get the web page
      webpage = requests.get(url)
  
      # Parse the web page
      soup = BeautifulSoup(webpage.content, 'html.parser')
  
      # Find all 'a' tags
      links = soup.find_all('a')
  
      # Extract the URLs in the 'href' attribute
      urls = []
      for link in links:
          urls.append(link.get('href'))
  
      return urls
output:     filtered_urls = []
      for url in urls:
          if url and url.startswith('http'):
              filtered_urls.append(url)
      
      return filtered_urls