diff options
author | DiffieHellman <DiffieHellman@endianness.com> | 2024-02-25 11:22:37 +1100 |
---|---|---|
committer | DiffieHellman <DiffieHellman@endianness.com> | 2024-02-25 11:22:37 +1100 |
commit | d1a992bda1e59c6cad8d86bdd9492fc61dc4c784 (patch) | |
tree | e3f9695acb6de7c654eb201aa22f66931aa947df | |
parent | b48e7070c2c35602527a65eba0536f1b010a252c (diff) | |
download | scripts-d1a992bda1e59c6cad8d86bdd9492fc61dc4c784.tar.gz scripts-d1a992bda1e59c6cad8d86bdd9492fc61dc4c784.tar.bz2 scripts-d1a992bda1e59c6cad8d86bdd9492fc61dc4c784.zip |
-rwxr-xr-x | download-video.sh | 2 | ||||
-rwxr-xr-x | watch-video.sh | 2 |
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 |