From 14897f43e10eba2743883b875192239a0b935f92 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sun, 3 May 2026 11:18:06 +0200 Subject: [PATCH] fix youtube urls being "resolved" --- src/distbot/plugins/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/distbot/plugins/url.py b/src/distbot/plugins/url.py index dae31d4..4de60ad 100644 --- a/src/distbot/plugins/url.py +++ b/src/distbot/plugins/url.py @@ -89,7 +89,7 @@ class URLResolver(Worker): out = [] for url in result[:10]: - if "https://youtu" in url: + if "https://youtu" in url or "https://www.youtu" in url: # does not work, another plugins does the job. continue if any([re.match(b, url) for b in url_blacklist]): -- 2.47.3