drugs, urlinfo, youtube: fix 'invalid escape sequence' SyntaxWarnings
This commit is contained in:
@@ -9,11 +9,11 @@ from . import Plugin
|
||||
|
||||
class URLInfo(Plugin):
|
||||
BLACKLIST = [
|
||||
"^https?:\/\/(?:www\.)?youtube\.com",
|
||||
"^https?:\/\/youtu\.be",
|
||||
"^https?:\/\/w0bm\.com",
|
||||
"^https?:\/\/f0ck\.me",
|
||||
"^https?:\/\/(?:(?:vid|img|thumb)\.)?pr0gramm\.com"
|
||||
r"^https?:\/\/(?:www\.)?youtube\.com",
|
||||
r"^https?:\/\/youtu\.be",
|
||||
r"^https?:\/\/w0bm\.com",
|
||||
r"^https?:\/\/f0ck\.me",
|
||||
r"^https?:\/\/(?:(?:vid|img|thumb)\.)?pr0gramm\.com"
|
||||
]
|
||||
|
||||
# set the size limit to 2 MB so we don't fully download too large resources
|
||||
|
||||
Reference in New Issue
Block a user