add script for youtube-dl

to download or update a full user/playlist from youtube, add a file
named "url" in the directory and run youtube-dl-download-or-update.sh.
It picks the file "url" and grabs the whole playlist or even
youtube-user and downloads all playlists in separate directories
This commit is contained in:
Jakobus Schürz 2020-02-24 08:43:28 +01:00
parent f6a5417d7e
commit 8827e99d53

View file

@ -0,0 +1,2 @@
#!/bin/bash
youtube-dl --write-description --write-info-json --write-annotations --write-all-thumbnails -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' -c -w -a ./url