|
@@ -91,7 +91,7 @@ class ExclusionsDB(object): |
|
|
except exceptions.PageNotFoundError: |
|
|
except exceptions.PageNotFoundError: |
|
|
return urls |
|
|
return urls |
|
|
|
|
|
|
|
|
if site == "enwiki" and source == "User:EranBot/Copyright/Blacklist": |
|
|
|
|
|
|
|
|
if source == "User:EranBot/Copyright/Blacklist": |
|
|
for line in data.splitlines()[1:]: |
|
|
for line in data.splitlines()[1:]: |
|
|
line = re.sub(r"(#|==).*$", "", line).strip() |
|
|
line = re.sub(r"(#|==).*$", "", line).strip() |
|
|
if line: |
|
|
if line: |
|
|