Could not retrieve a transcript for the video
See original GitHub issueCould not retrieve a transcript for the video https://www.youtube.com/watch?v=98TQv5IAtY8! This is most likely caused by: The video is no longer available
It works on my local computer (Windows 10) but when I try to use it on Ubuntu 20.04(DigitalOcean Droplet) I get this error! I assume the error is caused by sender I.P. address.
I got a similar problem using youtube-dl on my droplet and when I tried using “–force-ipv4” with youtube-dl It worked. Is there a similar solution to this?
Code
YouTubeTranscriptApi.get_transcript("98TQv5IAtY8", languages=['en'])
Issue Analytics
- State:
- Created 3 years ago
- Comments:34 (16 by maintainers)
Top Results From Across the Web
get_transcripts() doesn't work for me · Issue #4 - GitHub
Could not retrieve a transcript for the video https://www.youtube.com/watch?v=k! This is most likely caused by: Subtitles are disabled for this video...".
Read more >Youtube Data API error: Subtitles are disabled for this video
Could not retrieve a transcript for the video https://www.youtube.com/watch?v=D2lwk1Ukgz0! This is most likely caused by: Subtitles are ...
Read more >youtube_transcript_api2/_errors.py · Xenova/sponsorblock ...
Raised if a transcript could not be retrieved. """ ERROR_MESSAGE = '\nCould not retrieve a transcript for the video {video_url}!'.
Read more >View, edit, and manage video transcripts and captions
If the upload doesn't work, you'll see an error message and can try picking a different file. Some common errors include: ... Note:...
Read more >How to Get the Transcript of a YouTube Video - Alphr
Phones don't have the same option to find the transcript of a YouTube video as computers. Therefore, you can't turn it on and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@iercetin @sdtblck any news on this?
In
v0.4.0
the ExceptionTooManyRequests
has been added which is raised when running into rate limits. This could be used to further investigate the issue. My guess with the IPv4 vs. IPv6 thing @iercetin mentioned is that the IPv6 has been blocked due to extensive usage, while IPv4 still works as it hasn’t been blocked yet.As this issue is kinda all over the place now with different things being reported (most of them most likely due to rate limits, which now have a more speaking error message) I will close this for now. If individual issues arise again feel free to open a new issue with a title more specific to that issue.