Upgrade to youtube-dlc
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 29 Oct 2020 01:25:37 +0000 (21:25 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 29 Oct 2020 01:25:37 +0000 (21:25 -0400)
home/lib/login_functions.sh
pkgs-pip.list

index c15ecef..c477f70 100644 (file)
@@ -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() {
index 5d663a8..939380a 100644 (file)
@@ -1,4 +1,4 @@
 #
 twtxt
-youtube-dl
+youtube-dlc
 terminal-colors
This page took 0.035402 seconds and 4 git commands to generate.