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:
parent
f6a5417d7e
commit
8827e99d53
1 changed files with 2 additions and 0 deletions
2
bin/youtube-dl-download-or-update.sh
Executable file
2
bin/youtube-dl-download-or-update.sh
Executable 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
|
Loading…
Reference in a new issue