From 916ec9ba2b112e32d9ed3ca2387cda57b14a7bb5 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Sun, 19 Jun 2022 14:36:23 +0200 Subject: Changed youtube-dl for yt-dlp in youtube-dl scripts. --- youtube-dl.sh | 2 +- 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" -- cgit v1.2.1