Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

youtube-dl playlist does not work anymore

in the past I have downloaded Youtube's playlists with youtube-dl without any problem. However, now it downloads 0 videos. Could it have something to do with RIAA's DMCA takedown? Any suggestion or solution? The code I usually use is

youtube-dl -i -f mp4 --write-auto-sub --yes-playlist --output './%(title)s.%(ext)s' UUdp4_l1vPmpN-gDbUwhaRUQ

I have tried with the web URL or the playlist ID, both give me this result:

[youtube:playlist] UUdp4_l1vPmpN-gDbUwhaRUQ: Downloading webpage
[download] Downloading playlist: UUdp4_l1vPmpN-gDbUwhaRUQ
[youtube:playlist] playlist UUdp4_l1vPmpN-gDbUwhaRUQ: Downloading 0 videos
[download] Finished downloading playlist: UUdp4_l1vPmpN-gDbUwhaRUQ

Also, I have uninstalled/updated youtube-dl (just in case) without improve. Thank you in advance,

like image 791
Ignasi Piqué Muntané Avatar asked Nov 12 '20 10:11

Ignasi Piqué Muntané


People also ask

Can you download playlists with youtube-dl?

If the videos are related in some way, remember that youtube-dl can download all videos from a playlist, user, or channel.

How do I add a playlist to youtube-dl?

For Windows users:Exctract all zip files and move youtube-dl.exe, ffmpeg.exe and ffprobe.exe files to the folder that where you want the downloaded MP3 files. Open cmd (Windows terminal) in same folder. Replace the script {your-youtube-playlist-id} parameter with your YouTube playlist id. Run the script.

Does youtube-dl skip already downloaded?

On each run of youtube-dl with --download-archive and %(autonumber)s set, youtube-dl will skip over all previously downloaded videos (as expected), but when it reaches a video it hasn't downloaded, it will starting numbering from 00001 again.

Does youtube-dl automatically download highest quality?

If you don't have ffmpeg installed, youtube-dl will by default select the highest quality format that has both audio and video. This maxes out at 720p (and is usually specified by format code 22 so you would download with -f 22 ).


1 Answers

It is an issue with youtube-dl, however the youtube-dlc fork has already fixed it.

You can download directly from GitHub or else download it with pip:

python3 -m pip install --upgrade youtube-dlc

UPDATE: youtube-dl has been restored.

like image 180
LucaTNT Avatar answered Oct 13 '22 20:10

LucaTNT