Add files via upload

This commit is contained in:
Imre Kristoffer Eilertsen
2022-10-01 10:55:53 +02:00
committed by GitHub
parent b809bad3c4
commit 62aa0ff2fa
2 changed files with 28 additions and 7454 deletions
+16 -2
View File
@@ -835,13 +835,27 @@ def prepare_agh(lines) -> str:
)
line = re.sub(
r"^! .* Adblock Plus($| .*)",
r"^!.* Adblock Plus($| .*)",
r"",
line
)
line = re.sub(
r"^! .*CSS.*",
r"^!.*CSS.*",
r"",
line
)
line = re.sub(
r"^!.*JS.*",
r"",
line
)
# $badfilter-ed entries, as Sublime Text kept complaining about "Ran out of stack space" when I tried to semi-automate it with RegEx.
line = re.sub(
r"^(/adblockpopup\.|/ads\.css|/propads\.|\|\|amgload\.net\^|\|\|desbloqueador\.org\^|\|\|down-paradise\.com\^|\|\|embed\.mystream\.to\^|\|\|fast\.io\^|\|\|fastcontentdelivery\.com\^|\|\|freeadultcomix\.com\^|\|\|hydrax\.net\^|\|\|imfast\.io\^|\|\|klclick\.com\^|\|\|leechpremium\.link\^|\|\|pepsia\.com\^|\|\|piguiqproxy\.com\^|\|\|player-cdn\.com\^|\|\|playhydrax\.com\^|\|\|rcdn\.pro\^|\|\|realfinanceblogcenter\.com\^|\|\|redirect-ads\.com\^|\|\|rule34hentai\.net\^|\|\|shoosh\.co\^|\|\|taobao\.com\^|\|\|template-help\.com\^|\|\|uptodatefinishconferenceroom\.com\^|\|\|wpnrtnmrewunrtok\.xyz\^|\|\|zenaps\.com\^|\|\|zzz\.pissrip\.net\^)(\$badfilter)?$",
r"",
line
)
File diff suppressed because it is too large Load Diff