input: def extract_trending_videos(url: str) -> List[str]:
      """Extract the titles of the top ten trending YouTube videos from a given URL.
      >>> extract_trending_videos("https://www.youtube.com/feed/trending")
      ['Title1', 'Title2', 'Title3', 'Title4', 'Title5', 'Title6', 'Title7', 'Title8', 'Title9', 'Title10']
      """
      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
      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
      return [video.find(class_='yt-uix-tile-link').get('title') for video in trending_videos[:10]]