mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-04 22:04:19 +01:00
Add files via upload
This commit is contained in:
@@ -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