Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
youtube-dl sometimes extracts the wrong upload playlist for a channel #5904
Comments
|
Serving promotion as |
|
I have a patch ready (testing now) that extracts this instead channel_playlist_id = self._search_regex(
r'<link rel="alternate" type="application/rss\+xml" title="RSS"' +
r' href="https://www\.youtube\.com/feeds/videos\.xml\?channel_id=([^"]+)">',
channel_page, 'channel id', default=None) |
|
I've stopped patching my fork and given the lack of complaints it's very likely that 3d8e957 fixed it. Closing; will reopen if it ever happens again. |
I spotted this in my logs after getting hundreds of videos from the wrong playlist:
It extracted the incorrect playlist https://www.youtube.com/playlist?list=UUj2HtBTppiQLVrZfEjcFxig
instead of the correct playlist https://www.youtube.com/playlist?list=UU5r3WHrX4Z7peSYpDlgktGw
Unfortunately, I haven't yet been able to reproduce the issue. Maybe YouTube was serving a temporary promotion or advertisement that matched either regexp?