You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last): File "C:\Users\Raju\Desktop\YoutubeDL\main.py", line 7, in <module> captions = download.get_captions(video_id, 'en') File "C:\Users\Raju\Desktop\YoutubeDL\ytcc\download.py", line 37, in get_captions with open(file_path) as f: FileNotFoundError: [Errno 2] No such file or directory: 'subtitle_w7ejDZ8SWv8.en.vtt'
Can you please fix this
The text was updated successfully, but these errors were encountered:
When i run this
`from ytcc.download import Download
video_id = 'w7ejDZ8SWv8'
download = Download()
Language is optional and default to "en"
YouTube uses "en","fr" not "en-US", "fr-FR"
captions = download.get_captions(video_id, 'en')
print(captions)`
This will throw error
Traceback (most recent call last): File "C:\Users\Raju\Desktop\YoutubeDL\main.py", line 7, in <module> captions = download.get_captions(video_id, 'en') File "C:\Users\Raju\Desktop\YoutubeDL\ytcc\download.py", line 37, in get_captions with open(file_path) as f: FileNotFoundError: [Errno 2] No such file or directory: 'subtitle_w7ejDZ8SWv8.en.vtt'
Can you please fix this
The text was updated successfully, but these errors were encountered: