mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-11-17 20:50:26 +00:00
Add files via upload
This commit is contained in:
1 parent
234bcaf672
commit
5acacee64e
1 file changed
+18
@@ -4733,6 +4733,12 @@ def prepare_hosts(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^\$.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_hosts(line):
|
||||
text += line + '\r\n'
|
||||
|
||||
@@ -4843,6 +4849,12 @@ def prepare_domains(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^\$.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_domains(line):
|
||||
text += line + '\r\n'
|
||||
|
||||
@@ -5018,6 +5030,12 @@ def prepare_agh(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^\$.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_agh(line):
|
||||
text += line + '\r\n'
|
||||
|
||||
|
||||
Reference in new issue
Block a user