Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def get_transcript(video_url):
|
|
27 |
|
28 |
# Fetch the transcript
|
29 |
transcript = YouTubeTranscriptApi.get_transcript(video_id)
|
30 |
-
|
31 |
# Join the transcript text into a single string
|
32 |
text = "\n".join([t["text"] for t in transcript])
|
33 |
return text # Return the transcript as a string
|
|
|
27 |
|
28 |
# Fetch the transcript
|
29 |
transcript = YouTubeTranscriptApi.get_transcript(video_id)
|
30 |
+
print(transcript)
|
31 |
# Join the transcript text into a single string
|
32 |
text = "\n".join([t["text"] for t in transcript])
|
33 |
return text # Return the transcript as a string
|