summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiffieHellman <DiffieHellman@endianness.com>2024-02-25 11:22:37 +1100
committerDiffieHellman <DiffieHellman@endianness.com>2024-02-25 11:22:37 +1100
commitd1a992bda1e59c6cad8d86bdd9492fc61dc4c784 (patch)
treee3f9695acb6de7c654eb201aa22f66931aa947df
parentb48e7070c2c35602527a65eba0536f1b010a252c (diff)
downloadscripts-d1a992bda1e59c6cad8d86bdd9492fc61dc4c784.tar.gz
scripts-d1a992bda1e59c6cad8d86bdd9492fc61dc4c784.tar.bz2
scripts-d1a992bda1e59c6cad8d86bdd9492fc61dc4c784.zip
Avoid linking to proprietary JavaScriptHEADmaster
-rwxr-xr-xdownload-video.sh2
-rwxr-xr-xwatch-video.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/download-video.sh b/download-video.sh
index 0e7a326..7d8d324 100755
--- a/download-video.sh
+++ b/download-video.sh
@@ -21,6 +21,6 @@
# $video is each video after argv[0]
for video ; do
#bash #*= gets all characters after a =
- list+="https://youtube.com/watch?v=${video#*=} "
+ list+="ytdl://youtube.com/watch?v=${video#*=} "
done
yt-dlp $list
diff --git a/watch-video.sh b/watch-video.sh
index ba43c35..e923a35 100755
--- a/watch-video.sh
+++ b/watch-video.sh
@@ -21,6 +21,6 @@
# $video is each video after argv[0]
for video ; do
#bash #*= gets all characters after a =
- list+="https://youtube.com/watch?v=${video#*=} "
+ list+="ytdl://youtube.com/watch?v=${video#*=} "
done
mpv $list