-
Notifications
You must be signed in to change notification settings - Fork 367
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 channel page downloads broken #148
Comments
@insaneracist @blackjack4494 Mix, search and user created playlists seem to be working just fine: |
seems widely confirmed: https://www.reddit.com/r/youtubedl/comments/jr56fs/yourubedl_sees_all_channel_links_as_empty/ |
I too am seeing this issue, looks to be a global thing, same problem wherever I initiate the download from
|
@ainsey11 I can second what you've found there. Seems you're on the right track. |
Sorry if its a dumb question: Why does the extractor need the "old theme / non-polymer"? |
The extractor currently looks for HTML markup for each entry in a playlist. When the polymer frontend was introduced, YouTube changed from server-side rendering of HTML templates to client-side rendering. As a result, the HTML source received from the server no longer contains the markup the extractor looks for, and the only place that playlist items appear is in a JSON structure (and a fairly dense one at that). Now that the extractor can no longer opt out of polymer, it will need to be updated to pull data out of that structure. |
It seems to be failing at youtube_dlc/extractor/youtube.py:_extract_playlist https://github.com/blackjack4494/yt-dlc/blob/master/youtube_dlc/extractor/youtube.py#L2890-L2892 Every match after these lines isn't working. |
how to use playlist track number from Individual video downloads? |
@candrapersada That's fine as a hack, but for all of us who do archival, it's a really bad hack to put in place. Using that method, there is no way to scan the archive for all of the playlist items and avoid downloading the page for every single one of those items. I archive over 150 channels regularly and dropping down to this method would be a little bit of a disaster. |
If no one has taken up the task of getting this fixed yet, I might give it a try tomorrow. |
Check network tab in browser. They likely completely changed over to api usage returning json instead of html events |
what I mean is how to want youtube-dlc to name the files like 1-{name}, 2-{name}, ... n-{name} in order to be able to watch them in the same sequence as original Youtube playlist. In other words I need my downloaded videos to be prefixed with numbers. How can I do that? |
@candrapersada, check out the readme section called output template |
Hm, the playlist's title is still missing from these fixes @ZenulAbidin @insaneracist Similar to #109.
Doesn't return a valid title key. |
@arter97 fixed |
Expect a release with a patch for this coming today (anything between 1-10 hrs depending on when I got time). Python version will be fixed then as well as win xp support is back then. |
I was booked today, now that I have some free time I’ll see where in the JSON our variables have moved to and hopefully find a regex to match them. |
That's unfortunate Release is delayed till this issue is fixed. |
@blackjack4494 Seems that the linked issue is fixed, according to comments. Would you have a potential ETA on release? Thank you 🙏 |
why name folder broken |
Hi everyone. I am trying to use this command to download playlist but not able to do so since past 2-3 days. Till now I can't see any fix for this. If anyone can tell me how to go past this issue it would be great help.
|
@harrypotter0 Which system are you using? For Manjaro Linux, a package update was available when I checked 9 hours ago, since then it works again. Some other distributions might take longer. Debian for example sometimes takes months, so you might want to download it from Github and install it that way instead. |
This particular playlist is working on the latest release. |
When I download my Youtube watch later playlist, it only downloads the first page. Any videos beyond the first 100 don't get downloaded. This happens using both |
I updated to today's youtube-dl version through pip. Still, none of the auxiliary options like What am I missing here? Is this truly fixed? |
Try updating to master with git. Search for git in readme :) |
Checklist
Verbose log
Description
youtube playlist downloads seem to have broken sometime within the last few hours. it was working earlier this morning, now all playlists result in "0 videos" from youtube-dlc. presumably youtube made a schema change which broke youtube-dlc.
Individual video downloads still work, for example this works perfectly:
youtube-dlc.exe --ignore-config -i -o "%(uploader)s (%(uploader_id)s)/%(upload_date)s - %(title)s - (%(duration)ss) [%(resolution)s] [%(id)s].%(ext)s" --prefer-ffmpeg --merge-output-format mkv --write-sub --all-subs --convert-subs srt --add-metadata --write-description --write-annotations --write-all-thumbnails --write-info-json --cookies youtube-cookies.txt -v --proxy "" https://www.youtube.com/watch?v=SXGAiTjFiMA
The text was updated successfully, but these errors were encountered: