-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"YouTube said: Unable to extract video data" on some videos #26311
Comments
#26100 Fixed most of the videos for me but the one as shown below is still not working.
|
Video "7takIh1nK0s" fails with a different error for me (having applied the fix from #26100): So the age-gate detection works but the trick that is used to circumvent it doesn't, since it simulates watching an embedded video which obviously doesn't work when the video owner disables it. So for this video you will have to log into YouTube and pass that login cookie to youtube-dl (see How do I pass cookies to youtube-dl?). |
For me, youtube-dl has been working only on non–age-restricted videos and with no authentication cookies. If I provide other cookies, it's fine, but certain cookies are causing problems. After quite a bit of experimentation, I've determined that the The web page for age-restricted videos when not authenticated seems to be different as well. In case it helps, I provide the web page outputs for an example age-restricted video when not authenticated, when authenticated but without It would be helpful to suppress that cookie until someone figures out how to parse the current format. |
That fix did indeed fix age gate detection, so that's good. It needs to be merged. What it did not fix, however, is the case of being authenticated as I detailed above. That still fails after the first time.
|
Should this issue really be closed? Commit 16ee69c fixes the age gate detection, but it does not solve the problem I have been describing above. If I use an authentication cookie, the "Unable to extract video data" error still shows up whenever I have
|
Verbose log
Description
Most videos work fine but few videos like the one above showing error. ExtractorError: 6sKluPf9-dk: YouTube said: Unable to extract video data
The text was updated successfully, but these errors were encountered: