From 8827e99d53f79d1532384e1a648e1fae3738e2f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Mon, 24 Feb 2020 08:43:28 +0100 Subject: [PATCH] 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 --- bin/youtube-dl-download-or-update.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 bin/youtube-dl-download-or-update.sh diff --git a/bin/youtube-dl-download-or-update.sh b/bin/youtube-dl-download-or-update.sh new file mode 100755 index 0000000..4401f68 --- /dev/null +++ b/bin/youtube-dl-download-or-update.sh @@ -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