mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-11-19 08:50:20 +00:00
Add files via upload
This commit is contained in:
1 parent
05b4f9d364
commit
73fd1b9b77
1 file changed
+24
@@ -922,6 +922,12 @@ def prepare_tpl(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r".*dnstype.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(# Title: 🏔️ Dandelion Sprout.*)",
|
||||
r"msFilterList\n\1",
|
||||
@@ -1429,6 +1435,12 @@ def prepare_privoxy(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r".*dnstype.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
"Dandelion Sprout's Nordic filters for tidier websites",
|
||||
"Dandelion Sprout's Nordic filters for tidier websites (for Privoxy)",
|
||||
@@ -4969,6 +4981,12 @@ def prepare_tpl(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r".*dnstype.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\[Adblock Plus .*\]",
|
||||
"msFilterList",
|
||||
@@ -5398,6 +5416,12 @@ def prepare_privoxy(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r".*dnstype.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\$.*",
|
||||
"",
|
||||
|
||||
Reference in new issue
Block a user