input: def extract_trending_videos(url: str) -> list:
      """Extract the top ten trending YouTube videos from the given URL using web scraping.
      >>> extract_trending_videos("https://www.youtube.com/feed/trending")
      ['Title of Video 1', 'Title of Video 2', 'Title of Video 3', 'Title of Video 4', 'Title of Video 5', 'Title of Video 6', 'Title of Video 7', 'Title of Video 8', 'Title of Video 9', 'Title of Video 10']
      """
  import requests
  from bs4 import BeautifulSoup
  
  # make a request to get the page content
  page = requests.get(url)
  
  # parse the page content
  soup = BeautifulSoup(page.content, 'html.parser')
  
  # extract the list of trending videos
  trending_videos = soup.find_all(class_='expanded-shelf-content-item-wrapper')
  
  # return the top ten trending videos titles as a list
  return [video.find(class_='yt-uix-tile-link').get('title') for video in trending_videos[:10]]
output:     import requests
      from bs4 import BeautifulSoup
  
      # make a request to get the page content
      page = requests.get(url)
  
      # parse the page content
      soup = BeautifulSoup(page.content, 'html.parser')
  
      # extract the list of trending videos
      trending_videos = soup.find_all(class_='expanded-shelf-content-item-wrapper')
  
      # return the top ten trending videos titles as a list
      return [video.find(class_='yt-uix-tile-link').get('title') for video in trending_videos[:10]]