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