mirror of
https://github.com/ACL4SSR/ACL4SSR.git
synced 2026-11-22 13:40:06 +00:00
ADD:例行更新
This commit is contained in:
1 parent
c45d484ffc
commit
e525255416
94 files changed
+111422
-99076
No files matched your search
@@ -149,6 +149,8 @@ def parse_gfwlist(content):
|
||||
if domain:
|
||||
domain_blacklist.append(domain)
|
||||
|
||||
# Clash 的 DOMAIN-SUFFIX 已匹配子域,黑名单里的 *. 前缀去掉即可。
|
||||
domain_blacklist = [domain.removeprefix('*.') for domain in domain_blacklist]
|
||||
return domain_blacklist, domain_whitelist, ip_blacklist, ip_whitelist
|
||||
|
||||
def format_domain_suffix_rules(domains):
|
||||
|
||||
Reference in new issue
Block a user