I was happily downloading channels playlists but out of the blue youtube-dl detects any channel playlists as fully downloaded. I can download videos and playlists but no channels playlists.
Desired behavior: youtube-dl downloading all playlists of a choosen channel.
Specific problem or error: youtube-dl detects all playlists as already downloaded and it downloads 0 videos.
Code necessary to reproduce de problem:
youtube-dl -i https://www.youtube.com/c/MentalOutlaw/playlists
Result:
[youtube:playlists] MentalOutlaw: Downloading webpage
[download] Downloading playlist: Mental Outlaw
[youtube:playlists] playlist Mental Outlaw: Downloading 0 videos
[download] Finished downloading playlist: Mental Outlaw
I've tried removing yt-dl and reinstalling from another repo. Restarting computer. Tried different directories and different channels. Thing is I did it before but all of a sudden it stops doing it.
OSPop!_OS 20.04 LTS
youtube-dl version 2020.09.20
By default, Youtube-dl will download the best available quality video. However, it is also possible to download a video or playlist at a specific quality or format.
To resume download should type -c option with everything what was in the line: youtube-dl -c -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]' <some_youtube_URL>
On Windows, the user wide configuration file locations are %APPDATA%\youtube-dl\config. txt or C:\Users\<user name>\youtube-dl.
A glitch or error of some kind might be responsible for YouTube Music not downloading all songs in the playlist or stopping mid-way. Tap on Library and select Downloads. Tap on the three-dot menu icon next to the playlist you want to remove and select Remove download. Go back to Library and under Playlists, Select the playlist you want to download.
Go back to Library and under Playlists, Select the playlist you want to download. Tap the menu icon and select Download. 2. Availability YouTube has a massive library of videos, and you will often find multiple versions of the same song on the platform.
Tap on Library and select Downloads. Tap on the three-dot menu icon next to the playlist you want to remove and select Remove download. Go back to Library and under Playlists, Select the playlist you want to download. Tap the menu icon and select Download. 2. Availability
Felix Beuster, a product expert, notes that YouTube playlists are limited to 5000 videos. So YouTube Music playlists should have the same limitation, I assume. While that’s a generous figure, some power users might have reached the upper limit. 4. Storage Permissions Open Settings and go to Apps > Manage apps and search for and open YouTube Music.
Issue is fixed in the latest release 2020.11.18. (Related Issue: #26952)
pypi has the latest version pip install youtube_dl
I had also received this message while downloading videos from private playlist (it gets updated few times a month, and I have the same script that worked for a long time), these steps helped(do not use apt as it can receive updated later than pip version):
pip3 install youtube-dl --upgrade
To install the latest version of youtube-dl, then I updated my cookies file, because they had expired
I took a look at the python source, updated on GitLab. There is an extractor for each supported platform. One of them youtube.py has a class called YoutubePlaylistIE (YoutubePlaylistBaseInfoExtractor), I didn’t have time to look more deeply into the process of downloading the playlist, but whoever can already know a way.
https://gitlab.com/ytdl-org/youtube-dl/-/blob/master/youtube_dl/extractor/youtube.py
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With