Closed pascalandy closed 3 days ago
Same issue here. It surfaced with me a few days ago too when it was working perfectly beforehand. I do not recall any updates to the code in that period so I am wondering maybe if there were any changes on Youtube's side that broke the tool for some.
I can confirm now that in my case, this was IP related.
I get this message above as described by OP. if I try to use yt through my VPN, but it works perfectly fine when i use my ISP IP address to make the request. Please note that it used to work fine through my VPN and my static VPN Private IP has not changed which leads me to think that this policy change happened on youtube's side.
My issue is now resolved. Can OP confirm if they are using a VPN or not?
Hi @pascalandy,
I am not familiar with fabric-ai, but most likely your IP has been banned by YouTube as @Asentient already pointed out. Unfortunately, there's not much you can do here other than changing your IP address (through a VPN for example) or waiting until the ban has been lifted (for which there is no consistent information on how long this will take).
I'll close this now, as there's not much we can do.
So far, that was the only instance it happened.
To Reproduce
Steps to reproduce the behavior:
What code / cli command are you executing?
For example: I am running
Which Python version are you using?
Python 3.11.9
Which version of youtube-transcript-api are you using?
not sure it's via fabric-ai. But most video gets the captions
Expected behavior
Describe what you expected to happen.
I expected to receive the english transcript. It works for most videos
Actual behaviour
I see on youtube that captions is disabled. Maybe it's why.
Instead I received the following error message: