myshellconfig/bin/youtube-dl-download-or-update.sh
Jakobus Schürz 8827e99d53 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
2020-02-24 08:43:28 +01:00

2 lines
238 B
Bash
Executable file

#!/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