mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-09-24 18:50:12 +01:00
Add files via upload
This commit is contained in:
@@ -3579,6 +3579,54 @@ def prepare_conversion(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\^$denyallow=([a-z0-9])",
|
||||
r"^$all,domain=~\1",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\^\$denyallow=([a-z0-9])",
|
||||
r"^$all,domain=~\1",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(\^\$all,domain=.*\|)([a-z0-9])",
|
||||
r"\1~\2",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(\^\$all,domain=.*\|)([a-z0-9])",
|
||||
r"\1~\2",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(\^\$all,domain=.*\|)([a-z0-9])",
|
||||
r"\1~\2",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(\^\$all,domain=.*\|)([a-z0-9])",
|
||||
r"\1~\2",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(\^\$all,domain=.*\|)([a-z0-9])",
|
||||
r"\1~\2",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"(\^\$all,domain=.*\|)([a-z0-9])",
|
||||
r"\1~\2",
|
||||
line
|
||||
)
|
||||
|
||||
text += line + '\n'
|
||||
|
||||
return text
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
! Title: Conversion of AdGuard Services Lists — QQ
|
||||
|
||||
||qq.com^$denyallow=wx.qq.com|weixin.qq.com
|
||||
||qq.com^$all,domain=~wx.qq.com|~weixin.qq.com
|
||||
||qq-video.cdn-go.cn^$all
|
||||
||url.cn^$all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user