mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-11-19 17:36:34 +00:00
Add files via upload
This commit is contained in:
1 parent
0ef14b82e9
commit
cadef2beaf
1 file changed
+18
@@ -3239,6 +3239,12 @@ def prepare_hosts(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^-.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_hosts(line):
|
||||
text += line + '\n'
|
||||
|
||||
@@ -5690,6 +5696,12 @@ def prepare_hosts(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^-.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_hosts(line):
|
||||
text += line + '\n'
|
||||
|
||||
@@ -5854,6 +5866,12 @@ def prepare_domains(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^-.*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_domains(line):
|
||||
text += line + '\n'
|
||||
|
||||
|
||||
Reference in new issue
Block a user