From 1df37042d4cf794f881b65ed261a540ac98ab25b Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Wed, 28 Oct 2020 21:25:37 -0400 Subject: [PATCH] Upgrade to youtube-dlc --- home/lib/login_functions.sh | 6 +++--- pkgs-pip.list | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.20.1