diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2022-06-19 14:36:23 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2022-06-19 14:36:23 +0200 |
commit | 916ec9ba2b112e32d9ed3ca2387cda57b14a7bb5 (patch) | |
tree | 01c8945952cec24331d9734aa2626f161c221fec | |
parent | 82456c27d0a00f0b61c6c30238fc54166cec6b55 (diff) | |
download | scripts-916ec9ba2b112e32d9ed3ca2387cda57b14a7bb5.tar.gz scripts-916ec9ba2b112e32d9ed3ca2387cda57b14a7bb5.zip |
Changed youtube-dl for yt-dlp in youtube-dl scripts.
-rwxr-xr-x | youtube-dl.sh | 2 | ||||
-rwxr-xr-x | youtube-dlAudio.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/youtube-dl.sh b/youtube-dl.sh index d75a580..fc18999 100755 --- a/youtube-dl.sh +++ b/youtube-dl.sh @@ -1,5 +1,5 @@ #!/bin/sh -youtube-dl --add-metadata \ +yt-dlp --add-metadata \ --format 'best[height<=1080]/best[width<=1920]/bestvideo[height<=1080]+bestaudio/best' \ --write-auto-sub --sub-lang 'es,en,ast,pl' --embed-subs --sub-format 'srt/best' \ -o "$HOME/downloads/videos/%(title)s.%(ext)s" "$@" diff --git a/youtube-dlAudio.sh b/youtube-dlAudio.sh index 585180d..1d11059 100755 --- a/youtube-dlAudio.sh +++ b/youtube-dlAudio.sh @@ -1,2 +1,2 @@ #!/bin/sh -youtube-dl -x --audio-format mp3 --embed-thumbnail -o "$HOME/downloads/audios/%(title)s.%(ext)s" "$1" +yt-dlp -x --audio-format mp3 --embed-thumbnail -o "$HOME/downloads/audios/%(title)s.%(ext)s" "$1" |