Skip to content
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] can't extract full list of channel's playlists #33073

Closed
4 of 5 tasks
wellsyw opened this issue Feb 27, 2025 · 3 comments
Closed
4 of 5 tasks

[YouTube] can't extract full list of channel's playlists #33073

wellsyw opened this issue Feb 27, 2025 · 3 comments

Comments

@wellsyw
Copy link

wellsyw commented Feb 27, 2025

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2021.12.17
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

>youtube-dl -v --flat-playlist --get-title "https://www.youtube.com/user/upc831/playlists?disable-polymer=1
"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--flat-playlist', '--get-title', 'https://www.youtube.com/user/upc831/playlists?disable-polymer=1']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2025.02.07 [711e72c29] (single file build)
[debug] ** This version was built from the latest master code at /~https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.4.4 (CPython AMD64 32bit) - Windows-10-10.0.26100 - OpenSSL 1.0.2d 9 Jul 2015
[debug] exe versions: ffmpeg n5.1.6-9-gdcdfd7fb62-20241109, ffprobe n5.1.6-9-gdcdfd7fb62-20241109
[debug] Proxy map: {}
SPACE HARRIER for MIDI Synthesizer
HANG-ON for MIDI Synthesizer
CANYON.MID for MIDI Synthesizer
Other Semi-Vintange Synthesizer Legend
CASIO Legend
KAWAI Legend
E-mu Legend
KORG Legend
YAMAHA Legend
Roland Legend
SEGA GAME MUSIC for MIDI Synthesizer

Description

Trying to extract the list of playlists for some channels only returns about 11 entries, when they actually have more (in this case, 41.) It seems the ones extracted were the final 11 entries.

This only happens with some channels; I've been able to extract a list of 400+ playlists of another channel.

@dirkf
Copy link
Contributor

dirkf commented Feb 27, 2025

The 11 are found in a continuation; the missing items should be found in a LOCKUP_VIEW_MODEL that the extractor doesn't understand.

The tab extractor needs an overhaul which will be included in the final resolution of #32905. Meanwhile a partial update can be pushed (yt-dlp back-port) that has this result:

$ python -m youtube_dl --flat-playlist "https://www.youtube.com/user/upc831/playlists?disable-polymer=1"
[youtube:tab] upc831: Downloading webpage
[download] Downloading playlist: 音源博士いとー - Playlists
[youtube:tab] Downloading page 1
[youtube:tab] playlist 音源博士いとー - Playlists: Downloading 41 videos
[download] Downloading video 1 of 41
[download] Downloading video 2 of 41
[download] Downloading video 3 of 41
[download] Downloading video 4 of 41
[download] Downloading video 5 of 41
[download] Downloading video 6 of 41
[download] Downloading video 7 of 41
[download] Downloading video 8 of 41
[download] Downloading video 9 of 41
[download] Downloading video 10 of 41
[download] Downloading video 11 of 41
[download] Downloading video 12 of 41
[download] Downloading video 13 of 41
[download] Downloading video 14 of 41
[download] Downloading video 15 of 41
[download] Downloading video 16 of 41
[download] Downloading video 17 of 41
[download] Downloading video 18 of 41
[download] Downloading video 19 of 41
[download] Downloading video 20 of 41
[download] Downloading video 21 of 41
[download] Downloading video 22 of 41
[download] Downloading video 23 of 41
[download] Downloading video 24 of 41
[download] Downloading video 25 of 41
[download] Downloading video 26 of 41
[download] Downloading video 27 of 41
[download] Downloading video 28 of 41
[download] Downloading video 29 of 41
[download] Downloading video 30 of 41
[download] Downloading video 31 of 41
[download] Downloading video 32 of 41
[download] Downloading video 33 of 41
[download] Downloading video 34 of 41
[download] Downloading video 35 of 41
[download] Downloading video 36 of 41
[download] Downloading video 37 of 41
[download] Downloading video 38 of 41
[download] Downloading video 39 of 41
[download] Downloading video 40 of 41
[download] Downloading video 41 of 41
[download] Finished downloading playlist: 音源博士いとー - Playlists
$

Do you know why disable_polymer=1 is being used and/or what its effect is?

@wellsyw
Copy link
Author

wellsyw commented Feb 27, 2025

It was an old URL; I used to put disable_polymer=1 to URLs so that youtube would serve its legacy non-polymer (i.e. not slow as hell) interface when I opened the bookmark. Now they always serve the polymer interface (started around the time when the youtube:tab rewrite was/had to be done) ...

@dirkf dirkf changed the title can't extract full list of channel's playlists [YouTube] can't extract full list of channel's playlists Feb 27, 2025
dirkf added a commit to dirkf/youtube-dl that referenced this issue Feb 27, 2025
* resolves ytdl-org#33073
* thx seproDev (yt-dlp/yt-dlp#11615)

Co-authored-by: sepro <sepro@sepr0.com>
@dirkf dirkf closed this as completed in 91b1569 Feb 28, 2025
@dirkf
Copy link
Contributor

dirkf commented Feb 28, 2025

Should be fixed in 2025.02.28 nightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants