jeudi 19 novembre 2020

Tools for downloading Youtube videos to your computer

 Here are some links that will be useful to do that :


Youtube-dl documentation (don't download the tool from there) :

https://github.com/ytdl-org/youtube-dl


Youtube-dl .EXE download (get the latest one) :

https://github.com/ytdl-org/youtube-dl/releases/tag/2020.11.12


FFMPEG download (put the ffmpeg.exe file next to the youtube-dl.exe file) :

https://www.gyan.dev/ffmpeg/builds/


A small example to download to a MP3 file :

youtube-dl --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=fd0qV2LErzA


Another example that downloads to a MP3 file on a F: drive (USB) :

youtube-dl --extract-audio --audio-format mp3 -o 'F:\%(title)s.%(ext)s' https://www.youtube.com/watch?v=fd0qV2LErzA


Another example for downloading 10 MP3 from a search about "sizzla 2020" :

youtube-dl --extract-audio --audio-format mp3 -o "F:\%(title)s.%(ext)s" "ytsearch10:sizzla 2020"


Have fun with all that !