Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
DandelionSprout authored Sep 27, 2024
1 parent 245b838 commit c8475d7
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
48 changes: 48 additions & 0 deletions Conversions of AdGuard Services lists/ServicesConvAlpha2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Conversions of AdGuard Services lists/qq.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c8475d7

Please sign in to comment.