AWAvenue-Ads-Rule/script
kiss2u 395bf7ffc9
Update RouterOS.py (#52)
In the build function, changed the output file extension to ".src".
2024-03-20 18:55:34 +08:00
..
Adblock.py add Adblock 2024-02-07 11:43:14 +08:00
AdClose.py Move the transition to the build branch 2024-02-07 11:22:21 +08:00
Adguard.py Move the transition to the build branch 2024-02-07 11:22:21 +08:00
Clash.py Move the transition to the build branch 2024-02-07 11:22:21 +08:00
hosts.py Move the transition to the build branch 2024-02-07 11:22:21 +08:00
QuantumultX.py Move the transition to the build branch 2024-02-07 11:22:21 +08:00
README.md Move the transition to the build branch 2024-02-07 11:22:21 +08:00
RouterOS.py Update RouterOS.py (#52) 2024-03-20 18:55:34 +08:00
Singbox-regex.py Move the transition to the build branch 2024-02-07 11:22:21 +08:00
Singbox.py Move the transition to the build branch 2024-02-07 11:22:21 +08:00
Surge.py Move the transition to the build branch 2024-02-07 11:22:21 +08:00

插件开发文档

插件入口函数为build()

参考Clash.py

插件返回的list格式参考下面的模板

Adguard.py:

["||xxx.com^","||xxx.cc^"]

后缀名以及注释符请在build.json中添加 如果不存在则不执行此插件

提供的变量:

domain_file

获取 rule目录的 domain.txt 路径

regex_file

获取 rule目录的 domain_regex.txt 路径