minnehwg commited on
Commit
dc6ec96
1 Parent(s): de32888

Update util.py

Browse files
Files changed (1) hide show
  1. util.py +1 -1
util.py CHANGED
@@ -37,7 +37,7 @@ def get_subtitles(video_url):
37
  video_id = video_url.split("v=")[1]
38
  transcript = YouTubeTranscriptApi.get_transcript(video_id, languages=['en'])
39
  subs = " ".join(entry['text'] for entry in transcript)
40
- print(sub)
41
 
42
  return transcript, subs
43
 
 
37
  video_id = video_url.split("v=")[1]
38
  transcript = YouTubeTranscriptApi.get_transcript(video_id, languages=['en'])
39
  subs = " ".join(entry['text'] for entry in transcript)
40
+ print(subs)
41
 
42
  return transcript, subs
43