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.

get_transcripts() doesn't work for me

See original GitHub issue

Hi, first off: great script! This is exactly what I was looking for! the get_transcript() command also works wonderfully for me. However, if I try to use a list of ~200 videos, I get errors. Let’s say I try: YouTubeTranscriptApi.get_transcripts("Video ID1","Video ID2") I get error messages like this one:

Could not get the transcript for the video https://www.youtube.com/watch?v=K! Most likely subtitles have been disabled by the uploader or the video is no longer available. It starts with the first letter of the ID and then goes until the first ID is finished. Am I doing something wrong?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
jdepoixcommented, Aug 15, 2018

Hi, I am sorry if the README isn’t as clear about this as it should be, but maybe have a look at get_transcripts docstring. It doesn’t support varargs, therefore you are supposed to give it a list.

This should work for you: YouTubeTranscriptApi.get_transcripts(["Video ID1","Video ID2"])

1reaction
wsebastiangrovescommented, Dec 9, 2020

Hello @wsebastiangroves, if you’re using get_transcripts you’ll have to put in a list of IDs. If you just want the transcript for one video either put in a list with one ID, or just use get_transcript instead, which only takes one ID.

This made me have a good laugh at myself. Thank you, I sincerely appreciate these functions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get Transcript FAQs | Internal Revenue Service
If you're unable to use Get Transcript by Mail, you may try our automated phone transcript service at 800-908-9946 and also receive your...
Read more >
Send Transcripts & Other Documents Electronically - Parchment
Get ready to shout, "Show me the money!". Generate revenue off of ... If not, our team of experts will work one-on-one with...
Read more >
How To Get Your Transcripts - Guild Education
If you can't find any information on transcripts online, go ahead and pick up the phone! You can usually request your transcripts from...
Read more >
Obtaining your transcripts - USAJOBS Help Center
An official transcript is a copy of your permanent academic record and ... If your college doesn't offer this service, contact the Registrar's...
Read more >
All Your Transcript Questions, Answered
What can keep me from getting my transcript? ... them to locate and send your transcript is taking longer than expected, you can...
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