input: 
  from typing import List, Tuple
  import requests
  import re
  
  def extract_youtube_titles(url: str) -> List[Tuple[str, str]]:
      """Extracts titles and video IDs of all YouTube videos from a given URL.
      >>> extract_youtube_titles("https://www.youtube.com/user/Thexvid/videos")
      [('abcd1234', 'Video Title 1'), ('efgh5678', 'Video Title 2')]
      """
      r = requests.get(url)
      titles_and_ids = re.findall('<a href="/watch\?v=([^"]+)">(.+?)<\/a>', r.content.decode('utf-8'))
      return titles_and_ids
  
output:     r = requests.get(url)
      titles_and_ids = re.findall('<a href="/watch\?v=([^"]+)">(.+?)<\/a>', r.content.decode('utf-8'))
      return titles_and_ids