commit ba67435ca0b0dd0a6874262125c4d5964c99f8ff
parent 9ac9e87a4d62d53239180012addc4508c7d1c9c4
Author: Ian Jones <ian@contractcoder.biz>
Date: Mon, 24 Jan 2022 20:27:11 +0000
Remove duplicate entries for watch/embed.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/bin/plumber b/bin/plumber
@@ -34,11 +34,9 @@ plumbrules = [
["^gopher(|s)://.*", "gopheropener '%s'"],
["^http://sprunge.us/.*", "textwebopener '%s'"],
["^http://ix.io/.*", "textwebopener '%s'"],
- ["^http(|s)://(|www\.)youtube.com/watch.*", "ytopener '%s'"],
- ["^http(|s)://(|www\.)youtube.com/embed/.*", "ytopener '%s'"],
+ ["^http(|s)://(|www\.)youtube.com/(watch|embed).*", "ytopener '%s'"],
["^http(|s)://(|www\.)youtu.be/.*\?t=.*", "ytopener '%s'"],
- ["^http(|s)://(|www\.)yewtu.be/watch.*", "ytopener '%s'"],
- ["^http(|s)://(|www\.)yewtu.be/embed/.*", "ytopener '%s'"],
+ ["^http(|s)://(|www\.)yewtu.be/(watch|embed).*", "ytopener '%s'"],
["^http(|s)://.*", "webopener '%s'"],
["^mailto:.*", "mailcomposer '%s'"],
["^dance:.*", "danceopener '%s'"],