-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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] "Unable to extract yt inital data"-error with specific URL #28871
Comments
I think this has something to do with the cookies being cleared when the URL is escaped in YouTubeDLHandler: youtube-dl/youtube_dl/utils.py Lines 2602 to 2604 in 9452056
The relevant CONSENT cookie lives in youtube-dl/youtube_dl/utils.py Lines 3960 to 3977 in 9452056
Possibly related: #28705 |
I found that this issue is fixed in the active yt-dlp fork. |
relevant patch if anyone is interested yt-dlp/yt-dlp@d255823 |
Checklist
Verbose log
Description
The URL https://www.youtube.com/c/OkonomiyakiVtuberSUBEspañol/videos results in the error "Unable to extract yt inital data". youtube-dl seems to get stuck on the EU privacy consent page instead of following the redirect. URLs leading to other channels aren't displaying the same problem. Here's the output from
--write-pages
:OkonomiyakiVtuberSUBEspanol_https_-_consent.youtube.com_mcontinue=https%3A%2F%2Fwww.youtube.com%2Fc%2FOkonomiyakiVtuberSUBEspa%25C3%25B1ol%2Fvideos_gl=RO_m=0_pc=yt_uxe=23983172_hl=en_src=1.log
The text was updated successfully, but these errors were encountered: