commit 78f19e50cafb676068850ce98afd716edd75594d
parent 7d45d018e7bc42482d247f8c412df9abe4cbc8d6
Author: hhvn <dev@hhvn.uk>
Date: Sun, 11 Jul 2021 16:27:48 +0100
.s/b/plumb: match m.youtube.com
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.scripts/bin/plumb b/.scripts/bin/plumb
@@ -97,7 +97,7 @@ do
plumb terminal 'addtorrent $arg'
matches "^(gopher|http)s?://.*\.(mkv|mp4|avi|webm|ogg|ogv|gifv|mp3|mp4|opus|flac|ape|m3u|m3u8)$" ||
- matches "^https?://(www.)?(youtube.com|youtu.be)" &&
+ matches "^https?://(www\.|m\.)?(youtube.com|youtu.be)" &&
plumb gui '$proxy queuevid $arg; $proxy mpv --pause $arg'
matches "^(gopher|http)s?://.*\.(jpe?g|gif|tiff?|ppm|bit|bmp|png|xpm)$" &&