Youtube Downloader

Taking inspiration from Mario Villalobos Creating My Own MTV Music Channel I implemented a quick YouTube downloader script on my Raspberry pi at home. Brilliant!

1
2
3
4
5
6
7
8
9
yt-dlp -o '/media/varmedal/media/videos/%(uploader)s-%(upload_date)s-%(title)s.%(ext)s' \
	  --download-archive '/home/pi/yt_archive.txt' \
       -f 'bestvideo+bestaudio/best' \
	  --sub-langs all,-live_chat \
	  --embed-subs \
	  --yes-playlist \
	  --add-metadata \
	  --write-thumbnail \
	  --batch-file '/home/pi/yt_download.txt'