Sayiqa commited on
Commit
189bfab
·
verified ·
1 Parent(s): fc19b4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -353,7 +353,7 @@ def get_video_metadata(video_id):
353
  Fetches video metadata such as title and description using the YouTube Data API.
354
  """
355
  try:
356
- YOUTUBE_API_KEY = "YOUR_YOUTUBE_API_KEY" # Replace with your YouTube Data API key
357
  youtube = build("youtube", "v3", developerKey=YOUTUBE_API_KEY)
358
  request = youtube.videos().list(part="snippet", id=video_id)
359
  response = request.execute()
 
353
  Fetches video metadata such as title and description using the YouTube Data API.
354
  """
355
  try:
356
+ YOUTUBE_API_KEY = "AIzaSyD_SDF4lC3vpHVAMnBOcN2ZCTz7dRjUc98" # Replace with your YouTube Data API key
357
  youtube = build("youtube", "v3", developerKey=YOUTUBE_API_KEY)
358
  request = youtube.videos().list(part="snippet", id=video_id)
359
  response = request.execute()