question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not retrieve a transcript for the video

See original GitHub issue

Could 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:closed
  • Created 3 years ago
  • Comments:34 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
jdepoixcommented, Sep 24, 2020

@iercetin @sdtblck any news on this?

1reaction
jdepoixcommented, Mar 23, 2021

In v0.4.0 the Exception TooManyRequests 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found