input: from typing import List
  
  def get_trending_videos(url: str, num_videos: int) -> List[str]:
      """Extracts the top 'num_videos' trending YouTube videos from the given 'url'.
      >>> get_trending_videos("https://www.youtube.com/feed/trending", 10)
      ['Video1 Title', 'Video2 Title', 'Video3 Title', 'Video4 Title', 'Video5 Title', 'Video6 Title', 'Video7 Title', 'Video8 Title', 'Video9 Title', 'Video10 Title']
      """
      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')
      
      # get the titles of the top 'num_videos' trending videos
      top_videos = [video.find(class_='yt-uix-tile-link').get('title') for video in trending_videos[:num_videos]]
      
      return top_videos
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')
      
      # get the titles of the top 'num_videos' trending videos
      top_videos = [video.find(class_='yt-uix-tile-link').get('title') for video in trending_videos[:num_videos]]
      
      return top_videos