Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -96,10 +96,7 @@ def process_youtube():
|
|
96 |
return jsonify({"error": "No YouTube URL provided"}), 400
|
97 |
|
98 |
try:
|
99 |
-
|
100 |
-
"""
|
101 |
-
Fetches the transcript of a YouTube video using the YouTube Transcript API.
|
102 |
-
"""
|
103 |
|
104 |
# Extract the video ID from the YouTube URL
|
105 |
video_id = youtube_url.split("v=")[-1].split("&")[0]
|
|
|
96 |
return jsonify({"error": "No YouTube URL provided"}), 400
|
97 |
|
98 |
try:
|
99 |
+
|
|
|
|
|
|
|
100 |
|
101 |
# Extract the video ID from the YouTube URL
|
102 |
video_id = youtube_url.split("v=")[-1].split("&")[0]
|