From e7b89e7fdbde1c91ccf5fcfdf4edf8f8b98cc5cb Mon Sep 17 00:00:00 2001 From: jkhsjdhjs Date: Sun, 16 May 2021 12:16:27 +0000 Subject: [PATCH] urlinfo: update blacklist --- bot/urlinfo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot/urlinfo.py b/bot/urlinfo.py index 43aa774..dd0f04d 100644 --- a/bot/urlinfo.py +++ b/bot/urlinfo.py @@ -9,10 +9,11 @@ from . import Plugin class URLInfo(Plugin): BLACKLIST = [ - "^https?:\/\/www\.youtube\.com", + "^https?:\/\/(?:www\.)?youtube\.com", "^https?:\/\/youtu\.be", "^https?:\/\/w0bm\.com", - "^https?:\/\/f0ck\.me" + "^https?:\/\/f0ck\.me", + "^https?:\/\/(?:(?:vid|img|thumb)\.)?pr0gramm\.com" ] SIZE_LIMIT = 2 * 1024 ** 2