[BUG] Missing video(s) in channel download on YouTube
See original GitHub issuePlease follow the guide below
- You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
- Put an
x
into all the boxes [ ] relevant to your issue (like this:[x]
) - Use the Preview tab to see what your issue will actually look like
Make sure you are using the latest version: run youtube-dl --version
and ensure your version is 2018.04.16. If it’s not, read this FAQ entry and update. Issues with outdated version will be rejected.
- I’ve verified and I assure that I’m running youtube-dl 2018.04.16
Before submitting an issue make sure you have:
- At least skimmed through the README, most notably the FAQ and BUGS sections
- Searched the bugtracker for similar issues including closed ones
- Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser
What is the purpose of your issue?
- Bug report (encountered problems with youtube-dl)
- Site support request (request for adding support for a new site)
- Feature request (request for a new functionality)
- Question
- Other
This YouTube channel (https://www.youtube.com/user/ChildrenofPoseidon2) has 3 videos, but youtube-dl only finds 2 videos.
Command: youtube-dl -s -v https://www.youtube.com/user/ChildrenofPoseidon2
Log output:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.youtube.com/user/ChildrenofPoseidon2', u'-s', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.04.16
[debug] Python version 2.7.10 (CPython) - Darwin-17.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4.2, ffprobe 3.4.2
[debug] Proxy map: {}
[youtube:user] ChildrenofPoseidon2: Downloading channel page
[youtube:playlist] UUyQUl9M6OfRX7EKhi8SPN_A: Downloading webpage
[download] Downloading playlist: Uploads from Jeffabel and Friends Extras
[youtube:playlist] playlist Uploads from Jeffabel and Friends Extras: Downloading 2 videos
[download] Downloading video 1 of 2
[youtube] 55DF8tRSMco: Downloading webpage
[youtube] 55DF8tRSMco: Downloading video info webpage
[youtube] 55DF8tRSMco: Extracting video information
[debug] Default format spec: bestvideo+bestaudio/best
[download] Downloading video 2 of 2
[youtube] Lm-_ZUiEQDk: Downloading webpage
[youtube] Lm-_ZUiEQDk: Downloading video info webpage
[youtube] Lm-_ZUiEQDk: Extracting video information
[debug] Default format spec: bestvideo+bestaudio/best
[download] Finished downloading playlist: Uploads from Jeffabel and Friends Extras
This video (https://www.youtube.com/watch?v=tZPI1mmVPCk) is missing from the output.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:18
Top Results From Across the Web
[Update: Dec. 19] YouTube bugs/issues & pending ...
Here we are tracking all the bugs and problems found on YouTube and their status as well as any pending improvements that are...
Read more >How to Fix YouTube Downloaded Videos Not Playing? [2022]
Once you had downloaded a video on your mobile while going to the YouTube app, select the video and choose download from the...
Read more >Troubleshoot video errors, buffering, and freezing - Android
Troubleshoot video errors, buffering, and freezing ; An error has occurred. Playback error. Tap to retry. Connection to server lost. This video is...
Read more >How To Fix Youtube - This Video Is Not Downloaded Yet Error
Thank You Everyone So Much For Watch My Video On " How To Fix Youtube - This Video Is Not Downloaded Yet Error...
Read more >Binaries missing/corrupted #390 - jely2002/youtube-dl-gui
The app doesn't exist under any directory named Open-Video-Downloader, only under youtube-dl-gui. Even if I put the yt-dlp.exe in any of those ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The rationale behind delegation to playlist extractor is clearly explained in the comment above the code mentioned: user rendition has a limitation of 100 pages with 30 videos per page (35 pages at the moment of writing the code), at the same time playlist has no such limitation and provides unlimited 100 videos per page rendition (see https://www.youtube.com/user/drighk/videos). “Fixing” it by removing the delegation will make it impossible to download whole channels with >3k videos.
Someone recently managed to reproduce this on Reddit here: https://www.reddit.com/r/DataHoarder/comments/9qrlbp/i_wrote_a_pythonselenium_based_crawler_to_really/?st=jnmcv30j&sh=66312301
They were trying to download this user:
Pasting my analysis here:
Just trying some things to see what’s up here:
This yields:
Which means youtube-dl converted that user to this playlist:
Which uses the exact same ID as the channel in all of yotube’s links (except a different prefix)
The channel’s id is this:
Which gets converted with this code:
From this line in YoutubeChannelIE: https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/youtube.py#L2485
YoutubeChannelIE is inherited by YoutubeUserIE, (probably because there is so much in common between the two). I would gather that their assumption – that this URL is the most ideal place to find all the channel’s videos – is probably an incorrect assumption in youtube-dl.
Imo this looks like a fairly drastic bug, but it shouldn’t be too hard to fix.
Edit: Ironically even Youtube’s “Play All” button on the user’s “Uploads” page jumps to a playlist with only 22 videos too, despite there being more than 60 uploads in that playlist. This might be somewhat exasperated by a bug on Youtube’s server:
https://www.youtube.com/user/LanaDelRey/videos