jdepoix / youtube-transcript-api

This is a python API which allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require an API key nor a headless browser, like other selenium based solutions do!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Too Many Requests for url

zjrwtx opened this issue · comments

image

DO NOT DELETE THIS! Please take the time to fill this out properly. I am not able to help you if I do not know what you are executing and what error messages you are getting. If you are having problems with a specific video make sure to include the video id.

To Reproduce

Steps to reproduce the behavior:

What code / cli command are you executing?

For example: I am running

YouTubeTranscriptApi.get_transcript ...

Which Python version are you using?

Python x.y

Which version of youtube-transcript-api are you using?

youtube-transcript-api x.y.z

Expected behavior

Describe what you expected to happen.

For example: I expected to receive the english transcript

Actual behaviour

Describe what is happening instead of the Expected behavior. Add error messages if there are any.

For example: Instead I received the following error message:

# ... error message ...

Hi @zjrwtx, are you able to make request to YouTube in general from that machine? According to your GitHub profile, you are from China and AFAIK YouTube is blocked there. If you can't access YouTuber, this module won't work.

So the module has worked for you before and only today it does not? Does it not work for any IDs, or only for this specific one? And are you still able to access YouTube in general today?