-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Unable to download JSON metadata error on yt #28289
Comments
I am experiencing this issue too, for a channel with thousands of videos that worked fine until today:
|
I also experience this. Was working fine up until a few hours ago.
|
I'm also noticing this too on a few automated downloads but I'm having trouble reproducing this on my main with verbose logging, but it's the same behavior as the others. YouTube is sometimes giving a 404 on a playlist page download, which doesn't seem to depend on which page. Edit: Processing my logs, it seems the rate of 404's peaks sometime between 6am-12pm UTC over the past couple days, so I'm Edit2: this appears to have started happening after the YouTube channel issues the other day. |
Interesting, this morning it behaves slightly differently; it started to gather the info on the watchlater playlist, but then JSON errored out.
|
Interesting enough, my run this morning worked fine. I'm going to leave the issue open, just in case others have not had the same resolution. |
Interesting, it seems to be intermittent for me. 9/10 times I got the same error but on the last time it worked. But trying to run it again immediately after and it exhibited the same error. A/B testing is a good theory, I'd be curious if it stays fixed for you. |
* Currently only used by youtube Fixes ytdl-org/youtube-dl#28194 Possibly also fixes: ytdl-org/youtube-dl#28289 (can not confirm since the issue isn't reliably reproducible)
I'm using the latest EXE version
|
|
This might not be a server side issue, rather an API change (or YouTube doing A/B testing to remove the old API?) I notice that youtube-dl is accessing Testing with the latter in using the Unfortunately it has been hard to reproduce to debug this up until now. |
It also works fine for me in the browser. I wrote a quick narrow script to move on in my case which isn't applicable to the project as a whole (just jQuery/bash hack) |
Confirmed that my copy was working fine a few hours ago, and now is 404 every time. Let me know if there's any debugging I can assist with. |
I can confirm, everything goes through this new front-end API endpoint now (JSON-based). Subscriptions, channel feed etc.
|
I got this issue too after updating to the latest version of youtube-dl, because the version I had been using would only download the first 30 videos of a channel. |
Hi, sorry to comment on a closed issue, but I'm seeing a similar issue with recent updates (2021.03.02) as well: verbose output
Then I tried setting ❯ mpv https://www.youtube.com/playlist\?list\=PLAbMhAYRuCUhawCEV2oXZGrienoKTN16X --ytdl-raw-options=verbose=true,default-search=ytsearch
Playing: https://youtu.be/Al_Rm2jEOLU
[ytdl_hook] failed to parse JSON data: error
Failed to recognize file format. |
Unsure if this is an expected side-effect of the new browse API, it so that ytdl doesn't parse more than one page of a playlist; so you only get the first 100 videos of said playlist. |
* https://github.com/ytdl-org/youtube-dl: release 2021.03.03 [ChangeLog] Actualize [ci skip] [youtube:tab] Switch continuation to browse API (closes ytdl-org#28289, closes ytdl-org#28327)
Is this a private playlist? Switching to the new API broke continuation on private playlists which I don't think is fixed in youtube-dl yet (a SAPISIDHASH auth header is required). I havnt got around to reporting this yet. |
Affirmative, this is a private playlist (Watchlater) |
closes ytdl-org#28327) Until further investigation.
closes ytdl-org#28327) Until further investigation.
closes ytdl-org#28327) Until further investigation.
closes ytdl-org#28327) Until further investigation.
* Currently only used by youtube Fixes ytdl-org/youtube-dl#28194 Possibly also fixes: ytdl-org/youtube-dl#28289 (can not confirm since the issue isn't reliably reproducible)
Checklist
Verbose log
Description
Simple download of a fav playlist from yt. It has been working for years and after updating to 02.22, it seems to have broken this morning.
The text was updated successfully, but these errors were encountered: