-
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
[YouTube] Tab Extractor only extracts first page (30 videos) sometimes #28075
Comments
I just noticed my nightly run started doing this exact same thing this morning. Previously it was pulling up multiple pages, but now suddenly certain channels I had on --playlist-reverse are only finding 30... |
happening to me too rn |
Previously I could get it to work by just running again, and then it would start functioning, but now it appears to be completely broken, every time I just get the 30 latest videos..
Whereas even earlier this morning, I was getting all 27 pages. |
Having the same issue, if devs want me to try a patch or something I'm willing to help |
Same here. Happens on different channels, on both V 2021.01.08 and 2021.02.04.1 |
This was working perfectly earlier today. I can confirm it stops at 30 for playlists larger than 30 videos using version 2021.02.04.1. I upgraded a few days ago so nothing changed on my end. The behavior still persisted when I tried to go back and use the 2021.01.24.1 version. |
YouTube changed where the continuation token is located in the initialData JSON. So no one else should confirm that they can repro, it's just unneeded. |
I have a fix: pukkandan/empty@a1b535b |
I can't get the above patch to apply to 2021.2.4.1 |
the conflict is literally caused by a newline, lol |
Confirmed fixed with that copy of youtube.py replacing mine. Thanks. |
I think it has been fixed for #28130 |
yes, this is fixed. I believe search extractor is still broken |
Yep I can't seem to reproduce it anymore with the latest update. Should we close this issue? Or is this still relevant to the search extractor @pukkandan mentioned? |
Changed title to be more specific to this issue to prevent confusion, and since this appears to be fixed now I'm going to close this :) |
Checklist
Verbose log
On this particular large channel sometimes it will only extract one page:
Running again...
Description
When using --flat-playlist on a /videos tab it sometimes only downloads the first page.
Possibly similar to #27981. I accidentally wrote my debugging in there but realized this is probably different.
Seems to be in these cases YouTube provides slightly different json data, causing the extractor to fail to process the next continuation page so we get less pages than there should be.
My debugging of this: #27981 (comment)
The text was updated successfully, but these errors were encountered: