Sayiqa commited on
Commit
891a4e7
·
verified ·
1 Parent(s): 0b5da7b

Update app.py

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