This commit is contained in:
JMARyA 2022-05-19 01:16:20 +02:00
parent 3ee2f4c885
commit 9765a9e04a
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
11 changed files with 15 additions and 54 deletions

10
zsh/youtube-dl.zsh Normal file
View file

@ -0,0 +1,10 @@
alias downloadVid="yt-dlp --downloader aria2c -o \"%(title)s.%(ext)s\" -f \"bestvideo[height<=1080]+bestaudio\" --write-thumbnail"
alias downloadVid1440="yt-dlp --downloader aria2c -o \"%(title)s.%(ext)s\" -f \"bestvideo[height<=1440]+bestaudio\" --write-thumbnail"
alias downloadVid4K="yt-dlp --downloader aria2c -o \"%(title)s.%(ext)s\" -f \"bestvideo[height<=2160]+bestaudio\" --write-thumbnail"
alias downloadAudio="yt-dlp --downloader aria2c -o \"%(playlist_index)s %(title)s.%(ext)s\" -x"
alias downloadMusic="yt-dlp --downloader aria2c -x --add-metadata -o \"%(playlist_title)s/%(playlist_index)s %(title)s.%(ext)s\""
alias dlBeat="yt-dlp --downloader aria2c --no-playlist --audio-format m4a -x"
alias downloadYT="yt-dlp --downloader aria2c --write-thumbnail -o \"%(title)s.%(ext)s\" --embed-thumbnail --embed-chapters --embed-info-json --convert-thumbnails jpg"
function downloadList() {
cat $1 |xargs -I _ yt-dlp --downloader aria2c _
}