input: from typing import List
  import requests
  import re
  
  def extract_youtube_video_titles(url: str) -> List[str]:
      """Extracts titles of all YouTube videos from a given URL.
      >>> extract_youtube_video_titles("https://www.youtube.com/user/Thexvid/videos")
      ['Title 1', 'Title 2', 'Title 3']
      >>> extract_youtube_video_titles("https://www.youtube.com/user/AnotherChannel/videos")
      ['Video 1', 'Video 2', 'Video 3', 'Video 4']
      """
      r = requests.get(url)
      titles = re.findall('<a href="/watch\?v=([^"]+)">(.+?)</a>', r.content.decode('utf-8'))
      return [title[1] for title in titles]
output:     r = requests.get(url)
      titles = re.findall('<a href="/watch\?v=([^"]+)">(.+?)</a>', r.content.decode('utf-8'))
      return [title[1] for title in titles]