From: Siraaj Khandkar Date: Thu, 29 Oct 2020 01:25:37 +0000 (-0400) Subject: Upgrade to youtube-dlc X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=1df37042d4cf794f881b65ed261a540ac98ab25b;p=khome.git Upgrade to youtube-dlc --- diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index c15ecef..c477f70 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -244,14 +244,14 @@ yt() { local _yt_dir _yt_uri="$1" - _yt_id=$(youtube-dl --get-id "$_yt_uri") - _yt_title=$(youtube-dl --get-title "$_yt_uri") + _yt_id=$(youtube-dlc --get-id "$_yt_uri") + _yt_title=$(youtube-dlc --get-title "$_yt_uri") _yt_dir="${DIR_YOUTUBE}/individual-videos/${_yt_title}--${_yt_id}" mkdir -p "$_yt_dir" cd "$_yt_dir" || kill -INT $$ echo "$_yt_uri" > 'uri' - youtube-dl -c --write-description --write-info-json "$_yt_uri" + youtube-dlc -c --write-description --write-info-json "$_yt_uri" } gh_fetch_repos() { diff --git a/pkgs-pip.list b/pkgs-pip.list index 5d663a8..939380a 100644 --- a/pkgs-pip.list +++ b/pkgs-pip.list @@ -1,4 +1,4 @@ # twtxt -youtube-dl +youtube-dlc terminal-colors