diff --git a/Clash/Outbound.yaml b/Clash/Outbound.yaml index b03a98a..4d72f61 100644 --- a/Clash/Outbound.yaml +++ b/Clash/Outbound.yaml @@ -85,7 +85,6 @@ dns: # Specify IP addresses only default-nameserver: - 119.29.29.29 - - 1.0.0.1 enhanced-mode: redir-host # or fake-ip fake-ip-range: 198.18.0.1/16 # Fake IP addresses pool CIDR # use-hosts: true # lookup hosts and return IP record @@ -113,8 +112,8 @@ dns: # involved. Clash answers the DNS question with the first result gathered. nameserver: - 119.29.29.29 - - tls://dns.rubyfish.cn:853 # DNS over TLS - - https://1.1.1.1/dns-query # DNS over HTTPS + # - tls://dns.rubyfish.cn:853 # DNS over TLS + # - https://1.1.1.1/dns-query # DNS over HTTPS # When `fallback` is present, the DNS server will send concurrent requests # to the servers in this section along with servers in `nameservers`. diff --git a/Clash/RuleSet/China.yaml b/Clash/RuleSet/China.yaml index 9235162..871fa3a 100644 --- a/Clash/RuleSet/China.yaml +++ b/Clash/RuleSet/China.yaml @@ -340,7 +340,6 @@ payload: - DOMAIN-SUFFIX,teamviewer.com - DOMAIN-SUFFIX,tianyancha.com - DOMAIN-SUFFIX,tophub.today - - DOMAIN-SUFFIX,udacity.com - DOMAIN-SUFFIX,uning.com - DOMAIN-SUFFIX,weather.com - DOMAIN-SUFFIX,weico.cc diff --git a/Clash/RuleSet/Extra/Cryptocurrency.yaml b/Clash/RuleSet/Extra/Cryptocurrency.yaml new file mode 100644 index 0000000..43162e0 --- /dev/null +++ b/Clash/RuleSet/Extra/Cryptocurrency.yaml @@ -0,0 +1,12 @@ +payload: + - DOMAIN-SUFFIX,aex.com + - DOMAIN-SUFFIX,bibox.com + - DOMAIN-SUFFIX,binance.com + - DOMAIN-SUFFIX,bitcointalk.org + - DOMAIN-SUFFIX,bitfinex.com + - DOMAIN-SUFFIX,bitmex.com + - DOMAIN-SUFFIX,ftx.com + - DOMAIN-SUFFIX,gate.io + - DOMAIN-SUFFIX,huobi.com + - DOMAIN-SUFFIX,okex.com + - DOMAIN-SUFFIX,zb.com \ No newline at end of file diff --git a/Clash/RuleSet/Extra/Telegram/Telegram.yaml b/Clash/RuleSet/Extra/Telegram/Telegram.yaml index 14f15b0..5bbe9b5 100644 --- a/Clash/RuleSet/Extra/Telegram/Telegram.yaml +++ b/Clash/RuleSet/Extra/Telegram/Telegram.yaml @@ -12,6 +12,7 @@ payload: - IP-CIDR,91.108.16.0/22,no-resolve - IP-CIDR,91.108.20.0/22,no-resolve - IP-CIDR,91.108.56.0/22,no-resolve + - IP-CIDR,95.161.64.0/20,no-resolve - IP-CIDR,149.154.160.0/20,no-resolve - IP-CIDR,2001:b28:f23d::/48,no-resolve - IP-CIDR,2001:b28:f23f::/48,no-resolve diff --git a/Clash/RuleSet/Global.yaml b/Clash/RuleSet/Global.yaml index 0f1a1a9..03259d2 100644 --- a/Clash/RuleSet/Global.yaml +++ b/Clash/RuleSet/Global.yaml @@ -104,6 +104,7 @@ payload: - IP-CIDR,91.108.16.0/22,no-resolve - IP-CIDR,91.108.20.0/22,no-resolve - IP-CIDR,91.108.56.0/22,no-resolve + - IP-CIDR,95.161.64.0/20,no-resolve - IP-CIDR,149.154.160.0/20,no-resolve - IP-CIDR,2001:b28:f23d::/48,no-resolve - IP-CIDR,2001:b28:f23f::/48,no-resolve diff --git a/Clash/RuleSet/StreamingMedia/Streaming.yaml b/Clash/RuleSet/StreamingMedia/Streaming.yaml index 23b9d65..257f5cc 100644 --- a/Clash/RuleSet/StreamingMedia/Streaming.yaml +++ b/Clash/RuleSet/StreamingMedia/Streaming.yaml @@ -89,6 +89,8 @@ payload: - PROCESS-NAME,com.dazn - DOMAIN-SUFFIX,dazn.com - DOMAIN-SUFFIX,dazn-api.com + - DOMAIN-SUFFIX,dazndn.com + - DOMAIN-SUFFIX,indazn.com - DOMAIN,d151l6v8er5bdm.cloudfront.net - DOMAIN-KEYWORD,voddazn # > Disney+ @@ -115,14 +117,6 @@ payload: - DOMAIN-SUFFIX,foxdcg.com - DOMAIN-SUFFIX,theplatform.com - DOMAIN-SUFFIX,uplynk.com - # > FOX+ - - DOMAIN-SUFFIX,foxplus.com - - DOMAIN,cdn-fox-networks-group-green.akamaized.net - - DOMAIN,d3cv4a9a9wh0bt.cloudfront.net - - DOMAIN,foxsports01-i.akamaihd.net - - DOMAIN,foxsports02-i.akamaihd.net - - DOMAIN,foxsports03-i.akamaihd.net - - DOMAIN,staticasiafox.akamaized.net # > HBO NOW & Max - PROCESS-NAME,com.hbo.hbonow - DOMAIN-SUFFIX,hbo.com diff --git a/Clash/RuleSet/StreamingMedia/Video/DAZN.yaml b/Clash/RuleSet/StreamingMedia/Video/DAZN.yaml index f508ffa..9856ebd 100644 --- a/Clash/RuleSet/StreamingMedia/Video/DAZN.yaml +++ b/Clash/RuleSet/StreamingMedia/Video/DAZN.yaml @@ -3,5 +3,7 @@ payload: - PROCESS-NAME,com.dazn - DOMAIN-SUFFIX,dazn.com - DOMAIN-SUFFIX,dazn-api.com + - DOMAIN-SUFFIX,dazndn.com + - DOMAIN-SUFFIX,indazn.com - DOMAIN,d151l6v8er5bdm.cloudfront.net - DOMAIN-KEYWORD,voddazn \ No newline at end of file diff --git a/Quantumult/Filter/China.list b/Quantumult/Filter/China.list index b45f1f9..3230046 100644 --- a/Quantumult/Filter/China.list +++ b/Quantumult/Filter/China.list @@ -403,7 +403,6 @@ DOMAIN-SUFFIX,takungpao.com,DIRECT DOMAIN-SUFFIX,teamviewer.com,DIRECT DOMAIN-SUFFIX,tianyancha.com,DIRECT DOMAIN-SUFFIX,tophub.today,DIRECT -DOMAIN-SUFFIX,udacity.com,DIRECT DOMAIN-SUFFIX,uning.com,DIRECT DOMAIN-SUFFIX,weather.com,DIRECT DOMAIN-SUFFIX,weico.cc,DIRECT diff --git a/Quantumult/Filter/Extra/Clubhouse.list b/Quantumult/Filter/Extra/Clubhouse.list index bb88a37..4c99bee 100644 --- a/Quantumult/Filter/Extra/Clubhouse.list +++ b/Quantumult/Filter/Extra/Clubhouse.list @@ -1,9 +1,6 @@ # > Clubhouse # 如果的你代理服务器不支持或没有开启 udp-relay,请不要使用本文件。 -DOMAIN-SUFFIX,clubhouseapi.com,Clubhouse -DOMAIN-SUFFIX,joinclubhouse.com,Clubhouse -DOMAIN,clubhouseprod.s3.amazonaws.com,Clubhouse -DOMAIN,clubhouse.pubnub.com,Clubhouse + IP-CIDR,3.0.163.78/32,Clubhouse IP-CIDR,13.230.60.35/32,Clubhouse IP-CIDR,23.98.43.152/32,Clubhouse diff --git a/Quantumult/Filter/Extra/Cryptocurrency.list b/Quantumult/Filter/Extra/Cryptocurrency.list new file mode 100644 index 0000000..c856c48 --- /dev/null +++ b/Quantumult/Filter/Extra/Cryptocurrency.list @@ -0,0 +1,11 @@ +DOMAIN-SUFFIX,aex.com,PROXY +DOMAIN-SUFFIX,bibox.com,PROXY +DOMAIN-SUFFIX,binance.com,PROXY +DOMAIN-SUFFIX,bitcointalk.org,PROXY +DOMAIN-SUFFIX,bitfinex.com,PROXY +DOMAIN-SUFFIX,bitmex.com,PROXY +DOMAIN-SUFFIX,ftx.com,PROXY +DOMAIN-SUFFIX,gate.io,PROXY +DOMAIN-SUFFIX,huobi.com,PROXY +DOMAIN-SUFFIX,okex.com,PROXY +DOMAIN-SUFFIX,zb.com,PROXY \ No newline at end of file diff --git a/Quantumult/Filter/Extra/Telegram/Telegram.list b/Quantumult/Filter/Extra/Telegram/Telegram.list index d5b0461..43a3128 100644 --- a/Quantumult/Filter/Extra/Telegram/Telegram.list +++ b/Quantumult/Filter/Extra/Telegram/Telegram.list @@ -11,6 +11,7 @@ IP-CIDR,91.108.12.0/22,Telegram IP-CIDR,91.108.16.0/22,Telegram IP-CIDR,91.108.20.0/22,Telegram IP-CIDR,91.108.56.0/22,Telegram +IP-CIDR,95.161.64.0/20,Telegram IP-CIDR,149.154.160.0/20,Telegram IP6-CIDR,2001:b28:f23d::/48,Telegram IP6-CIDR,2001:b28:f23f::/48,Telegram diff --git a/Quantumult/Filter/Global.list b/Quantumult/Filter/Global.list index d5c606d..1b2f9c6 100644 --- a/Quantumult/Filter/Global.list +++ b/Quantumult/Filter/Global.list @@ -103,6 +103,7 @@ IP-CIDR,91.108.12.0/22,PROXY IP-CIDR,91.108.16.0/22,PROXY IP-CIDR,91.108.20.0/22,PROXY IP-CIDR,91.108.56.0/22,PROXY +IP-CIDR,95.161.64.0/20,PROXY IP-CIDR,149.154.160.0/20,PROXY IP6-CIDR,2001:b28:f23d::/48,PROXY IP6-CIDR,2001:b28:f23f::/48,PROXY diff --git a/Quantumult/Filter/README.md b/Quantumult/Filter/README.md new file mode 100644 index 0000000..65aa527 --- /dev/null +++ b/Quantumult/Filter/README.md @@ -0,0 +1,3 @@ +## 说明 + +该目录下的内容将来将不再维护甚至移除,可使用 Surge 的分流文件,引用时开启「资源解析器」即可。 \ No newline at end of file diff --git a/Quantumult/Filter/StreamingMedia/Streaming.list b/Quantumult/Filter/StreamingMedia/Streaming.list index 8434f54..e9cc658 100644 --- a/Quantumult/Filter/StreamingMedia/Streaming.list +++ b/Quantumult/Filter/StreamingMedia/Streaming.list @@ -88,6 +88,8 @@ DOMAIN-KEYWORD,uk-live,Streaming USER-AGENT,DAZN*,Streaming DOMAIN-SUFFIX,dazn.com,Streaming DOMAIN-SUFFIX,dazn-api.com,Streaming +DOMAIN-SUFFIX,dazndn.com,Streaming +DOMAIN-SUFFIX,indazn.com,Streaming DOMAIN,d151l6v8er5bdm.cloudfront.net,Streaming DOMAIN-KEYWORD,voddazn,Streaming # > Disney+ @@ -113,15 +115,6 @@ DOMAIN-SUFFIX,fox.com,Streaming DOMAIN-SUFFIX,foxdcg.com,Streaming DOMAIN-SUFFIX,theplatform.com,Streaming DOMAIN-SUFFIX,uplynk.com,Streaming -# > FOX+ -DOMAIN-SUFFIX,foxplus.com,Streaming -# DOMAIN-SUFFIX,theplatform.com,Streaming -DOMAIN,cdn-fox-networks-group-green.akamaized.net,Streaming -DOMAIN,d3cv4a9a9wh0bt.cloudfront.net,Streaming -DOMAIN,foxsports01-i.akamaihd.net,Streaming -DOMAIN,foxsports02-i.akamaihd.net,Streaming -DOMAIN,foxsports03-i.akamaihd.net,Streaming -DOMAIN,staticasiafox.akamaized.net,Streaming # > HBO NOW & Max USER-AGENT,HBO%20NOW*,Streaming DOMAIN-SUFFIX,hbo.com,Streaming diff --git a/Quantumult/Filter/StreamingMedia/Video/DAZN.list b/Quantumult/Filter/StreamingMedia/Video/DAZN.list index 7a41daf..510697d 100644 --- a/Quantumult/Filter/StreamingMedia/Video/DAZN.list +++ b/Quantumult/Filter/StreamingMedia/Video/DAZN.list @@ -2,5 +2,7 @@ USER-AGENT,DAZN*,DAZN DOMAIN-SUFFIX,dazn.com,DAZN DOMAIN-SUFFIX,dazn-api.com,DAZN +DOMAIN-SUFFIX,dazndn.com,DAZN +DOMAIN-SUFFIX,indazn.com,DAZN DOMAIN,d151l6v8er5bdm.cloudfront.net,DAZN DOMAIN-KEYWORD,voddazn,DAZN \ No newline at end of file diff --git a/Quantumult/Filter/StreamingMedia/Video/FOXPlus.list b/Quantumult/Filter/StreamingMedia/Video/FOXPlus.list deleted file mode 100644 index 2771140..0000000 --- a/Quantumult/Filter/StreamingMedia/Video/FOXPlus.list +++ /dev/null @@ -1,9 +0,0 @@ -# > FOX+ -DOMAIN-SUFFIX,foxplus.com,FOX+ -# DOMAIN-SUFFIX,theplatform.com,FOX+ -DOMAIN,cdn-fox-networks-group-green.akamaized.net,FOX+ -DOMAIN,d3cv4a9a9wh0bt.cloudfront.net,FOX+ -DOMAIN,foxsports01-i.akamaihd.net,FOX+ -DOMAIN,foxsports02-i.akamaihd.net,FOX+ -DOMAIN,foxsports03-i.akamaihd.net,FOX+ -DOMAIN,staticasiafox.akamaized.net,FOX+ \ No newline at end of file diff --git a/Quantumult/Inbound.conf b/Quantumult/Inbound.conf index 26cb0f1..2599539 100644 --- a/Quantumult/Inbound.conf +++ b/Quantumult/Inbound.conf @@ -14,45 +14,52 @@ resource_parser_url=https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/maste ;geo_location_checker=http://www.example.com/json/, https://www.example.com/script.js # Quantumult 使用 HEAD 方法将 HTTP 请求发送到服务器检查 url 来测试代理的状态,结果应该是两个延迟,第一个是 TCP 与代理服务器的握手,第二个是 Quantumult 成功地从服务器检查 url 接收 HTTP 响应的总时间。闪电图标表示 TCP Fast Open 成功。如果 [server_local] 或 [server_remote] 中的服务器有自己的 server_check_url,则会用自己的 server_check_url 代替 [general] 中的 server_check_url。 -# Quantumult 使用 HTTP HEAD 方法对测试网址 server_check_url 进行网页响应性测试(测试结果为通过该节点访问此网页获得 HTTP 响应所需要的时间),来确认节点的可用性。 +# Quantumult 使用 HTTP HEAD 方法对测试网址 server_check_url 进行网页响应性测试(测试结果为通过该节点访问此网页获得 HTTP 响应所需要的时间),来确认节点的可用性。 # Quantumult 界面中的延迟测试方式均为网页响应性测试,显示的最终延迟均为通过对应节点访问测试网页获得 HTTP 响应所需要时间。 # 由于 Trojan 协议为无响应校验协议,使得 HTTP 检测方式即使获得了 HTTP 响应,也不代表节点一定可用。 -;server_check_url=http://cp.cloudflare.com/generate_204 +server_check_url=http://www.gstatic.com/generate_204 # DNS 排除列表 # dns_exclusion_list 包含了禁用占位符 IP (240.*) 的域,不在 dns_exclusion_list 中的域都启用了占位符 IP,并打开了 resolve-on-remote 设置。 -;dns_exclusion_list = *.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, *.pingan.com.cn, *.cmbchina.com, *.localnetwork.uop +dns_exclusion_list=*.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, id6.me, *.pingan.com.cn, *.cmbchina.com # Quantumult 将不会处理到 excluded_routes 的流量。修改后最好重新启动您的设备。 -;excluded_routes= 192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8 +;excluded_routes=192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8 +# Hearthstone: 24.105.30.129/32, 185.60.112.157/32, 185.60.112.158/32, 182.162.132.1/32 +excluded_routes=239.255.255.250/32, 24.105.30.129/32, 185.60.112.157/32, 185.60.112.158/32, 182.162.132.1/32 # 在网络环境切换时出发运行模式变更 # filter - 规则分流,all_proxy - 全部代理,all_direct - 全部直连 # 示例意思:[蜂窝数据],[Wi-Fi],[SSID] -# 下列示例的意思为:在蜂窝数据使用规则分流(第一个 filter),在 Wi-Fi 使用规则分流(第二个 filter),在 SSID 为 LINK_22E171 的 Wi-Fi 使用全部代理,,在 SSID 为 LINK_22E172 的 Wi-Fi 使用全部直连 +# 下列示例的意思为:在蜂窝数据使用规则分流(第一个 filter),在 Wi-Fi 使用规则分流(第二个 filter),在 SSID 为 LINK_22E171 的 Wi-Fi 使用全部代理,,在 SSID 为 LINK_22E172 的 Wi-Fi 使用全部直连 # Rewrite 及 Task 模块始终生效 ;running_mode_trigger=filter, filter, LINK_22E171:all_proxy, LINK_22E172:all_direct -# 在特定 SSID 网络时(除了 Task 模块)暂停 Quantumult X +# 在特定 SSID 网络时(除了 Task 模块)暂停 Quantumult X ;ssid_suspended_list=LINK_22E174, LINK_22E175 -# udp_whitelist 包含目标 UDP 端口,空表示所有的端口都在 udp_whitelist 中。通过Quantumult 隧道接口发送的 UDP 数据包(通过 Quantumult 隧道接口),目标端口不在 udp_whitelist 中的 UDP 包将被丢弃。这个设置与策略无关,也与代理(服务器)端口无关。 +# udp_whitelist 包含目标 UDP 端口,空表示所有的端口都在 udp_whitelist 中。通过Quantumult 隧道接口发送的 UDP 数据包(通过 Quantumult 隧道接口),目标端口不在 udp_whitelist 中的 UDP 包将被丢弃。这个设置与策略无关,也与代理(服务器)端口无关。 ;udp_whitelist=53, 123, 1900, 80-443 ;icmp_auto_reply=true [dns] -# 为了提高性能,会使用从当前网络(系统)中获取的DNS服务器(您可以使用「no-system」禁用此功能,但至少要增加一个自定义的DNS服务器,如「server=223.5.5.5.5」)。 # 查询结果只用于评估过滤器或通过直接策略连接,当通过服务器连接时,查询结果不会被使用,Quantumult 永远不会知道相关域名的目标 IP。 -# 如果您想让某个域名(例如:example.com)为 127.0.0.0.1,只需在「filter_local」部分添加「host, example.com, reject」即可。拒绝操作将返回 127.0.0.0.1 的 DNS 响应。 +# 如果您想让某个域名(例如:example.com)为 127.0.0.0.1,只需在「filter_local」部分添加「host, example.com, reject」即可。拒绝操作将返回 127.0.0.0.1 的 DNS 响应。 # 禁用系统 DNS +# 为了提高性能,会使用从当前网络(系统)中获取的 DNS 服务器(您可以使用「no-system」禁用此功能,但至少要增加一个自定义的DNS服务器,如「server=223.5.5.5.5」)。 ;no-system -# 第三方 DNS +# 禁用 IPv6 +# 当设置「no-ipv6」时,Quanumult X Tunnel 的 DNS 模块会直接让 AAAA 查询失败。 +no-ipv6 + +# 自定义 DNS server=1.0.0.1 server=8.8.4.4 + ;server=8.8.4.4:53 ;server=/example0.com/system ;server=/example1.com/8.8.4.4 @@ -67,18 +74,36 @@ server=8.8.4.4 # 需要策略图标的在策略后加上:img-url=http://example.com/icon.png # -# 静态策略(static)指向您手动选择的候选服务器。 +# 类型:静态(static) +# 指向您手动选择的候选服务器。 ;static=policy-name-1, Sample-A, Sample-B, Sample-C, img-url=http://example.com/icon.png -# 健康策略(available)指向候选服务器的第一个可用服务器(当策略被触发且策略结果不可用时,将立即启动并发 url 延迟测试。如果当时没有网络请求接受策略,这意味着策略处于空闲状态,即使服务器关闭,测试也不会启动。那时,您可以通过手动启动测试来更新服务器状态,但是这没有任何意义)。 +# 类型:可用(available) +# 指向候选服务器的第一个可用服务器(当策略被触发且策略结果不可用时,将立即启动并发 url 延迟测试。 +# 如果当时没有网络请求接受策略,这意味着策略处于空闲状态,即使服务器关闭,测试也不会启动。那时,您可以通过手动启动测试来更新服务器状态,但是这没有任何意义)。 ;available=policy-name-2, Sample-A, Sample-B, Sample-C -# 负载均衡(round-robin)指向在候选服务器中指向下一个服务器以进行下一次连接。 +# 类型:负载均衡(round-robin) +# 指向在候选服务器中指向下一个服务器以进行下一次连接。 ;round-robin=policy-name-3, Sample-A, Sample-B, Sample-C -# SSID 策略根据网络环境的不同指向服务器。 +# 类型:延迟测试(url-latency-benchmark) +# 策略指向具有最佳 URL 延迟(公差,单位毫秒)结果的服务器。 +# 当用户在 Quantumult X 中手动启动 URL 测试时,策略结果也会被更新。 +# 该类型的策略有一个名为 check-interval(秒) 的参数,如果此策略已经被任何请求激活,则将考虑该间隔。 +;url-latency-benchmark=policy-name-8, resource-tag-regex=^sample, server-tag-regex=^example, check-interval=600, tolerance=0 + +# SSID +# 策略根据网络环境的不同指向服务器。 ;ssid=policy-name-4, Sample-A, Sample-B, LINK_22E171:Sample-B, LINK_22E172:Sample-C +# resource-tag-regex 及 server-tag-regex 仅适用于 static、available 和 round-robin 类型的策略。 +;static=policy-name-5, resource-tag-regex=^sample, server-tag-regex=^example, img-url=http://example.com/icon.png +;available=policy-name-6, resource-tag-regex=^sample, server-tag-regex=^example +;round-robin=policy-name-7, resource-tag-regex=^sample, server-tag-regex=^example + +static=StreamingCN, direct, proxy, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/StreamingCN.png + [server_remote] # # 参数「tag」和「enabled」是可选的。 @@ -92,69 +117,84 @@ server=8.8.4.4 # 当有强制策略时,远程资源的过滤器中的策略将被忽略,并使用强制策略。 # -# Unbreak 后续规则修正 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Unbreak.list, tag=🔂Unbreak, enabled=false - -# Advertising 广告 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Advertising.list, tag=🛡Advertising, force-policy=Guard, enabled=false - -# Privacy 隐私 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Privacy.list, tag=🛡️Privacy, force-policy=Guard, enabled=false - - -# StreamingCN 中国流媒体服务 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/StreamingCN.list, tag=🎞StreamingCN, enabled=true - +# StreamingCN 中国流媒体服务(面向海外版本) +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/StreamingCN.list, tag=🎞StreamingSE, force-policy=StreamingSE, update-interval=86400, opt-parser=true, enabled=true [rewrite_remote] # # 参数「tag」和「enabled」是可选的。 # -# 通用 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=🔀General, enabled=true - -# Advertising 广告 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Advertising.conf, tag=🛡Advertising, enabled=false +# General +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=🔀General, update-interval=86400, enabled=true [server_local] # # 只有 obfs=http, obfs=ws, obfs=ws, obfs=wss 可以有可选的「obfs-uri」字段。 # wss 中的 obfs-host 参数将用于 TLS 握手和 HTTP 头主机字段,如果没有为 wss 设置 obfs-host,则将使用服务器地址。 # 目前不支持 VMess 和 Trojan 的 UDP relay。 -# When using obfs=ws and obfs=wss the server side can be deployed by v2ray-plugin with mux = 0 or by v2ray-core. # 当使用 obfs=ws 和 obfs=wss 时,服务器端可以通过带有 mux=0 的 v2ray-plugin 或 v2ray-core 进行部署。 # obfs plugin tls1.2 ticket auth 比 tls1.2 ticket fastauth 和 obfs tls 多一个 RTT,你最好使用 tls1.2 ticket fastauth。 # chacha20-ietf-poly1305 和 chacha20-poly1305 在 VMess 配置中具有相同的效果。 # -# 可选字段 tls13仅用于:shadowsocks obfs=wss / vmess obfs=over-tls and obfs=wss / http over-tls=true / trojan over-tls=true +# 可选字段 tls13 仅用于:shadowsocks obfs=wss / vmess obfs=over-tls and obfs=wss / http over-tls=true / trojan over-tls=true +# [server_local] 完整示例请查看「示例」 [filter_local] # Local Area Network 局域网 host-suffix, local, direct +ip-cidr, 192.168.0.0/16, direct ip-cidr, 10.0.0.0/8, direct -ip-cidr, 127.0.0.0/8, direct ip-cidr, 172.16.0.0/12, direct -ip-cidr, 192.168.0.0/16, direct -ip-cidr, 224.0.0.0/24, direct +ip-cidr, 127.0.0.0/8, direct +ip-cidr, 100.64.0.0/10, direct +ip-cidr, 224.0.0.0/4, direct +ip6-cidr, fe80::/10, direct -# GeoIP China +# GeoIP China(若启用,则禁用 ChinaIP.list) geoip, cn, proxy final, direct [rewrite_local] +# [rewrite_local] 完整示例请查看「示例」 [task_local] +# +# $task.fetch() 组成一个 HTTP 请求并处理响应,只支持 text body。如果您想要 serial requests 而不是 current requests,可以将 $task.fetch() 嵌入到另一个 $task.fetch() 的完成处理程序中。 +# +# 脚本应保存在本地「我的 iPhone - Quantumult X - Scripts」或「iCloud Drive - Quantumult X - Scripts」中。示例:https://github.com/crossutility/Quantumult-X/blob/master/sample-task.js +# +# 默认的 HTTP 请求超时是 10 秒。 +# +# 支持 5 或 6 个 cron 字段,不包括命令字段。 +# + +# [task_local] 完整示例请查看「示例」 + +[http_backend] +# +# 部署一个本地 HTTP 服务器,并使用 JavaScript 进行数据处理。 +# 输入变量为:$reqeust.url、$reqeust.path、$reqeust.headers、$reqeust.body。 +# 使用 $done 输出像 $done({status:"HTTP/1.1 200 OK"}, headers:{}, body:"here is a string") 这样的返回响应。 +# 此外,您还可以使用签名或任何其他验证方法来验证请求是否合法。 +# 部署后您应该通过 http://127.0.0.1:9999/your-path/your-api/. 进行访问。服务器默认监听端口为 9999,您可以在UI中进行更改。 +# +# [http_backend] 完整示例请查看「示例」 [mitm] # # 只有「hostname」中的 TLS SNI 或目标地址将被 MitM 处理。 # -# 您应该始终保护您的 CA 密码和p 12 的私密性。 +# 默认情况下,当为 HTTPS 请求启用 MitM 时,Quantumult X 会从原站点获取证书(证书会被缓存),保留大部分需要的原始证书信息,并使用 MitM 的 root CA 重新签名,这是推荐的(也是比较兼容的)MitM 证书创建方式。 +# +# 偶尔有些用户喜欢调试 HTTPS 请求,其域名不存在,所以原证书根本不存在。当参数 simple_cert_hostname 出现的时候。其 TLS SNI 名称在 simple_cert_hostname(及 hostname) 中的 HTTPS 请求将使用纯本地生成的 MitM 证书。 +# +# 注意!!!您应该始终保护您的 CA 密码和 p12 的私密性。 # ;passphrase = ;p12 = skip_validating_cert = true ;force_sni_domain_name = false +;simple_cert_hostname = non-existed-domain.com, *.non-connected-domain.com ;hostname = *.googlevideo.com \ No newline at end of file diff --git a/Quantumult/Outbound.conf b/Quantumult/Outbound.conf index 5cd7a7b..f81d2ad 100644 --- a/Quantumult/Outbound.conf +++ b/Quantumult/Outbound.conf @@ -17,7 +17,7 @@ resource_parser_url=https://cdn.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scri # Quantumult 使用 HTTP HEAD 方法对测试网址 server_check_url 进行网页响应性测试(测试结果为通过该节点访问此网页获得 HTTP 响应所需要的时间),来确认节点的可用性。 # Quantumult 界面中的延迟测试方式均为网页响应性测试,显示的最终延迟均为通过对应节点访问测试网页获得 HTTP 响应所需要时间。 # 由于 Trojan 协议为无响应校验协议,使得 HTTP 检测方式即使获得了 HTTP 响应,也不代表节点一定可用。 -server_check_url=http://www.gstatic.com/generate_204 +server_check_url=http://cp.cloudflare.com/generate_204 # DNS 排除列表 # dns_exclusion_list 包含了禁用占位符 IP (240.*) 的域,不在 dns_exclusion_list 中的域都启用了占位符 IP,并打开了 resolve-on-remote 设置。 @@ -130,31 +130,31 @@ static=Guard, reject, direct, img-url=https://raw.githubusercontent.com/Koolson/ # # Unbreak 后续规则修正 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Unbreak.list, tag=🔂Unbreak, update-interval=86400, enabled=true +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Unbreak.list, tag=🔂Unbreak, force-policy=direct, update-interval=86400, opt-parser=true, enabled=true # Advertising 广告 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Advertising.list, tag=🛡Advertising, update-interval=86400, force-policy=Guard, enabled=true +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Advertising.list, tag=🛡Advertising, force-policy=Guard, update-interval=86400, opt-parser=true, enabled=true # Privacy 隐私 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Privacy.list, tag=🛡️Privacy, update-interval=86400, force-policy=Guard, enabled=false +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Privacy.list, tag=🛡️Privacy, force-policy=Guard, update-interval=86400, opt-parser=true, enabled=true # Hijacking 运营商劫持或恶意网站 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Hijacking.list, tag=🛡️Hijacking, update-interval=86400, force-policy=Guard, enabled=true +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Hijacking.list, tag=🛡️Hijacking, force-policy=Guard, update-interval=86400, opt-parser=true, enabled=true # Streaming 国际流媒体服务 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/Streaming.list, tag=🎞Streaming, update-interval=86400, enabled=true +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/Streaming.list, tag=🎞Streaming, force-policy=Streaming, update-interval=86400, opt-parser=true, enabled=true # StreamingSE 中国流媒体服务(面向海外版本) -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/StreamingSE.list, tag=🎞StreamingSE, update-interval=86400, enabled=true +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/StreamingSE.list, tag=🎞StreamingSE, force-policy=StreamingSE, update-interval=86400, opt-parser=true, enabled=true # Global 全球加速 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Global.list, tag=🇺🇳Global, update-interval=86400, enabled=true +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Global.list, tag=🇺🇳Global, force-policy=proxy, update-interval=86400, opt-parser=true, enabled=true # China 中国直连 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/China.list, tag=🇨🇳China, update-interval=86400, enabled=true +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/China.list, tag=🇨🇳China, force-policy=direct, update-interval=86400, opt-parser=true, enabled=true -# 推荐使用来自 ipipdotnet 的 ChinaIP 以解决数据不准确,以及因规则类型优先级(GEOIP > IP-CIDR)导致的问题,使用 ChinaIP.list 时需禁用「GEOIP,CN」规则 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/ChinaIP.list, tag=🇨🇳ChinaIP(与「geoip, cn, direct」二选一), update-interval=86400, enabled=true +# IPList for China +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/ChinaIP.list, tag=🇨🇳ChinaIP(与「geoip, cn, direct」二选一), force-policy=direct, update-interval=86400, opt-parser=true, enabled=true [rewrite_remote] # diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index da52669..8a29b31 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -1,4 +1,4 @@ -hostname = -lark-frontier-hl.snssdk.com,api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,cube.elemecdn.com,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,smkmp.96225.com,api.huomao.com,business.msstatic.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn,ib-soft.net,www.inoreader.com,list-app-m.i4.cn,icc.one,jxd524.github.io,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,gfp.veta.naver.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,*.uve.weibo.com,weibointl.api.weibo.cn,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,www.zhihu.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net +hostname = -lark-frontier-hl.snssdk.com,api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,smkmp.96225.com,api.huomao.com,business.msstatic.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn,ib-soft.net,www.inoreader.com,list-app-m.i4.cn,icc.one,jxd524.github.io,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,gfp.veta.naver.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,app.relxtech.com,*.uve.weibo.com,weibointl.api.weibo.cn,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,www.zhihu.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net # > WeChat Official Account ^(http|https):\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad url response-body "advertisement_num":\d,"advertisement_info":\[.+\], response-body "advertisement_num":0,"advertisement_info":[], @@ -153,7 +153,7 @@ hostname = -lark-frontier-hl.snssdk.com,api.21jingji.com,service.4gtv.tv,app.58. ^https?:\/\/mobile-api2011.elong.com\/(adgateway|adv)\/ url reject # > eDaijia ^https?:\/\/pic\.edaijia\.cn\/adsplash\/ url reject -# > eleme - cube.elemecdn.com +# > eleme ^https?:\/\/cube\.elemecdn\.com\/[\w\/]+\.jpeg\?x-oss-process=image\/resize,m_fill,w_\d{3},h_\d{4}\/format,webp\/ url reject ^https?:\/\/cube\.elemecdn\.com\/[\w\/]+\.jpeg\?x-oss-process=image\/resize,m_fill,w_1\d{3},h_2\d{3}\/format,webp\/ url reject ^https?:\/\/cube\.elemecdn\.com\/[\w\/]+\.jpeg\?x-oss-process=image\/resize,m_fill,w_6\d{2},h_8\d{2}\/format,webp\/ url reject @@ -347,6 +347,8 @@ hostname = -lark-frontier-hl.snssdk.com,api.21jingji.com,service.4gtv.tv,app.58. ^https?:\/\/msspjh\.emarbox\.com\/getAdConfig url reject ^https?:\/\/api\.videozhishi\.com\/api\/getAdvertising url reject ^https?:\/\/api\.rr\.tv\/ad\/ url reject +# > RELX - app.relxtech.com +^https?:\/\/app\.relxtech\.com\/dianziyan-api\/api\/screen\/advert\/random url reject # S # ---(Sina)--- diff --git a/Quantumult/Rewrite/Block/AdvertisingPlus.conf b/Quantumult/Rewrite/Block/AdvertisingPlus.conf index dbe0071..1642c4c 100644 --- a/Quantumult/Rewrite/Block/AdvertisingPlus.conf +++ b/Quantumult/Rewrite/Block/AdvertisingPlus.conf @@ -9,7 +9,7 @@ hostname = *.amemv.com,api.weibo.cn,mapi.weibo.com,*.uve.weibo.com,www.zhihu.com # ---(By yichahucha)--- # > Weibo - api.weibo.cn,mapi.weibo.com ^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js -^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/photos/pic_recommend_status|video/tiny_stream_video_list|photo/info) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js +^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist)|video/tiny_stream_video_list|photo/info|remind/unread_count) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js # ------ # ---(By blackmatrix7)--- @@ -27,7 +27,7 @@ hostname = *.amemv.com,api.weibo.cn,mapi.weibo.com,*.uve.weibo.com,www.zhihu.com # 知乎热榜去广告 ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js # 知乎评论去广告 -^https?:\/\/api\.zhihu\.com\/comment_v5\/answers\/\d+\/root_comment url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js +^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js # > SMZDM - homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com ^https?:\/\/homepage-api\.smzdm\.com\/home url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js @@ -39,5 +39,5 @@ hostname = *.amemv.com,api.weibo.cn,mapi.weibo.com,*.uve.weibo.com,www.zhihu.com # ---(By srk24)--- # > bilibili -^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list url script-response-body https://raw.githubusercontent.com/srk24/profile/master/bilibili_splash.js +^https?:\/\/app\.bilibili\.com\/x\/v\d\/splash\/list url script-response-body https://raw.githubusercontent.com/srk24/profile/master/js/bilibili_splash.js # ------ \ No newline at end of file diff --git a/Surge/Inbound.conf b/Surge/Inbound.conf index fc7911e..34a3a3a 100644 --- a/Surge/Inbound.conf +++ b/Surge/Inbound.conf @@ -54,15 +54,6 @@ hide-udp = 0 [Proxy Group] [Rule] -# Unbreak 后续规则修正 -RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Unbreak.list,🌐Direct - -# Advertising 广告 -RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Advertising.list,🛡Guard - -# Privacy 隐私 -# RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Privacy.list,🛡Guard - # StreamingCN 中国流媒体服务 RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/StreamingCN.list,🌑Proxy @@ -70,6 +61,6 @@ RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ru RULE-SET,LAN,🌐Direct # GeoIP China -# GEOIP,CN,🌑Proxy +GEOIP,CN,🌑Proxy FINAL,🌐Direct \ No newline at end of file diff --git a/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index e1b3cca..de871a4 100644 --- a/Surge/Module/Block/Advertising.sgmodule +++ b/Surge/Module/Block/Advertising.sgmodule @@ -155,7 +155,7 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^https?:\/\/mobile-api2011.elong.com\/(adgateway|adv)\/ - reject # > eDaijia ^https?:\/\/pic\.edaijia\.cn\/adsplash\/ - reject -# > eleme - cube.elemecdn.com +# > eleme ^https?:\/\/cube\.elemecdn\.com\/[\w\/]+\.jpeg\?x-oss-process=image\/resize,m_fill,w_\d{3},h_\d{4}\/format,webp\/ - reject ^https?:\/\/cube\.elemecdn\.com\/[\w\/]+\.jpeg\?x-oss-process=image\/resize,m_fill,w_1\d{3},h_2\d{3}\/format,webp\/ - reject ^https?:\/\/cube\.elemecdn\.com\/[\w\/]+\.jpeg\?x-oss-process=image\/resize,m_fill,w_6\d{2},h_8\d{2}\/format,webp\/ - reject @@ -349,6 +349,8 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^https?:\/\/msspjh\.emarbox\.com\/getAdConfig - reject ^https?:\/\/api\.videozhishi\.com\/api\/getAdvertising - reject ^https?:\/\/api\.rr\.tv\/ad\/ - reject +# > RELX - app.relxtech.com +^https?:\/\/app\.relxtech\.com\/dianziyan-api\/api\/screen\/advert\/random - reject # S # ---(Sina)--- @@ -507,4 +509,4 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^https?:\/\/saad\.ms\.zhangyue\.net\/ad - reject [MITM] -hostname = %APPEND% api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,cube.elemecdn.com,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,smkmp.96225.com,api.huomao.com,business.msstatic.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn:0,ib-soft.net,www.inoreader.com,list-app-m.i4.cn,icc.one,jxd524.github.io,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,gfp.veta.naver.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,*.uve.weibo.com,weibointl.api.weibo.cn,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,www.zhihu.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net \ No newline at end of file +hostname = %APPEND% api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,smkmp.96225.com,api.huomao.com,business.msstatic.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn:0,ib-soft.net,www.inoreader.com,list-app-m.i4.cn,icc.one,jxd524.github.io,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,gfp.veta.naver.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,app.relxtech.com,*.uve.weibo.com,weibointl.api.weibo.cn,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,www.zhihu.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net \ No newline at end of file diff --git a/Surge/Module/Block/AdvertisingPlus.sgmodule b/Surge/Module/Block/AdvertisingPlus.sgmodule index 2e46cb9..cef89f3 100644 --- a/Surge/Module/Block/AdvertisingPlus.sgmodule +++ b/Surge/Module/Block/AdvertisingPlus.sgmodule @@ -20,7 +20,7 @@ douyin = type=http-response,pattern=^https?:\/\/.*\.amemv\.com\/aweme\/v1\/(feed # ---(By yichahucha)--- # > Weibo - api.weibo.cn,mapi.weibo.com,*.uve.weibo.com weibo_splash = type=http-response,pattern=^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua),requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js -weibo_ads = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/photos/pic_recommend_status|video/tiny_stream_video_list|photo/info),requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js +weibo_ads = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist)|video/tiny_stream_video_list|photo/info|remind/unread_count),requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js # ------ # ---(By blackmatrix7)--- @@ -31,7 +31,7 @@ weibo_ads = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(status 知乎_预置关键词去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 知乎_热搜去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 知乎_热榜去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js -知乎_评论去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/comment_v5\/answers\/\d+\/root_comment,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js +知乎_评论去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js # > SMZDM - homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com,haojia.m.smzdm.com,app-api.smzdm.com,s-api.smzdm.com 什么值得买_首页去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/homepage-api\.smzdm\.com\/home,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js @@ -43,7 +43,7 @@ weibo_ads = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(status # ---(By srk24)--- # > bilibili -Bilibili_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list,script-path=https://raw.githubusercontent.com/srk24/profile/master/bilibili_splash.js +Bilibili_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/app\.bilibili\.com/x/v\d/splash/list,script-path=https://raw.githubusercontent.com/srk24/profile/master/js/bilibili_splash.js # ------ [MITM] diff --git a/Surge/Outbound.conf b/Surge/Outbound.conf index f0f7057..f004f35 100644 --- a/Surge/Outbound.conf +++ b/Surge/Outbound.conf @@ -166,11 +166,11 @@ mtalk.google.com = 108.177.125.188 dl.google.com = server:119.29.29.29 dl.l.google.com = server:119.29.29.29 -[Header Rewrite] - -# 据粗略统计,有大概三分之二的本项目使用者停留在了 Surge 2、3 时期故而保留了 Rewrite 及 MitM,所以如果你解锁了「模块」功能可以使用 sgmodule 后清空 [URL Rewrite] 及 [MITM] 部分,MitM 证书重新生成配置。 +# 解锁了「模块」功能的用户可以使用 General.sgmodule 后可移除 [URL Rewrite] 及 [MITM] 的「hostname = www.google.cn,api.abema.io」部分 +# 建议使用 General.sgmodule,其他 .sgmodule 按需加入 +# 未解锁「模块」功能的用户不要删除以下内容,参照说明(https://github.com/DivineEngine/Profiles/tree/master/Surge)使用快捷指令更新相关内容。 -# 建议必选使用 General.sgmodule,其他 .sgmodule 按需加入 +[Header Rewrite] [URL Rewrite] # Redirect Google Search Service diff --git a/Surge/README.md b/Surge/README.md index c0788b2..5ce6b66 100644 --- a/Surge/README.md +++ b/Surge/README.md @@ -20,4 +20,4 @@ ### Surge 2 -对于 Surge (Legacy Support) 即 Surge 2 用户的支持即将停止。 \ No newline at end of file +对于 Surge(Legacy Support) 即 Surge 2 用户的支持已经停止。 \ No newline at end of file diff --git a/Surge/Ruleset/China.list b/Surge/Ruleset/China.list index dd6742b..5911697 100644 --- a/Surge/Ruleset/China.list +++ b/Surge/Ruleset/China.list @@ -340,7 +340,6 @@ DOMAIN-SUFFIX,takungpao.com DOMAIN-SUFFIX,teamviewer.com DOMAIN-SUFFIX,tianyancha.com DOMAIN-SUFFIX,tophub.today -DOMAIN-SUFFIX,udacity.com DOMAIN-SUFFIX,uning.com DOMAIN-SUFFIX,weather.com DOMAIN-SUFFIX,weico.cc diff --git a/Surge/Ruleset/Extra/Clubhouse.list b/Surge/Ruleset/Extra/Clubhouse.list index 42b793c..1e4bcfa 100644 --- a/Surge/Ruleset/Extra/Clubhouse.list +++ b/Surge/Ruleset/Extra/Clubhouse.list @@ -1,9 +1,6 @@ # > Clubhouse # 如果的你代理服务器不支持或没有开启 udp-relay,请不要使用本文件。 -DOMAIN-SUFFIX,clubhouseapi.com -DOMAIN-SUFFIX,joinclubhouse.com -DOMAIN,clubhouseprod.s3.amazonaws.com -DOMAIN,clubhouse.pubnub.com + IP-CIDR,3.0.163.78/32,no-resolve IP-CIDR,13.230.60.35/32,no-resolve IP-CIDR,23.98.43.152/32,no-resolve diff --git a/Surge/Ruleset/Extra/Cryptocurrency.list b/Surge/Ruleset/Extra/Cryptocurrency.list new file mode 100644 index 0000000..f2cc030 --- /dev/null +++ b/Surge/Ruleset/Extra/Cryptocurrency.list @@ -0,0 +1,11 @@ +DOMAIN-SUFFIX,aex.com +DOMAIN-SUFFIX,bibox.com +DOMAIN-SUFFIX,binance.com +DOMAIN-SUFFIX,bitcointalk.org +DOMAIN-SUFFIX,bitfinex.com +DOMAIN-SUFFIX,bitmex.com +DOMAIN-SUFFIX,ftx.com +DOMAIN-SUFFIX,gate.io +DOMAIN-SUFFIX,huobi.com +DOMAIN-SUFFIX,okex.com +DOMAIN-SUFFIX,zb.com \ No newline at end of file diff --git a/Surge/Ruleset/Extra/Telegram/Telegram.list b/Surge/Ruleset/Extra/Telegram/Telegram.list index 05d6b7e..a665fb3 100644 --- a/Surge/Ruleset/Extra/Telegram/Telegram.list +++ b/Surge/Ruleset/Extra/Telegram/Telegram.list @@ -11,6 +11,7 @@ IP-CIDR,91.108.12.0/22,no-resolve IP-CIDR,91.108.16.0/22,no-resolve IP-CIDR,91.108.20.0/22,no-resolve IP-CIDR,91.108.56.0/22,no-resolve +IP-CIDR,95.161.64.0/20,no-resolve IP-CIDR,149.154.160.0/20,no-resolve IP-CIDR6,2001:b28:f23d::/48,no-resolve IP-CIDR6,2001:b28:f23f::/48,no-resolve diff --git a/Surge/Ruleset/Global.list b/Surge/Ruleset/Global.list index 990938f..b4a96f1 100644 --- a/Surge/Ruleset/Global.list +++ b/Surge/Ruleset/Global.list @@ -103,6 +103,7 @@ IP-CIDR,91.108.12.0/22,no-resolve IP-CIDR,91.108.16.0/22,no-resolve IP-CIDR,91.108.20.0/22,no-resolve IP-CIDR,91.108.56.0/22,no-resolve +IP-CIDR,95.161.64.0/20,no-resolve IP-CIDR,149.154.160.0/20,no-resolve IP-CIDR6,2001:b28:f23d::/48,no-resolve IP-CIDR6,2001:b28:f23f::/48,no-resolve diff --git a/Surge/Ruleset/StreamingMedia/Region/HK.list b/Surge/Ruleset/StreamingMedia/Region/HK.list new file mode 100644 index 0000000..9b085d7 --- /dev/null +++ b/Surge/Ruleset/StreamingMedia/Region/HK.list @@ -0,0 +1,17 @@ +# > myTV SUPER +USER-AGENT,mytv* +DOMAIN-SUFFIX,mytvsuper.com +DOMAIN-SUFFIX,tvb.com + +# > Now E +DOMAIN-SUFFIX,nowe.com +DOMAIN-SUFFIX,nowestatic.com + +# > ViuTV +USER-AGENT,Viu* +DOMAIN-SUFFIX,viu.com +DOMAIN-SUFFIX,viu.tv +DOMAIN,api.viu.now.com +DOMAIN,d1k2us671qcoau.cloudfront.net +DOMAIN,d2anahhhmp1ffz.cloudfront.net +DOMAIN,dfp6rglgjqszk.cloudfront.net \ No newline at end of file diff --git a/Surge/Ruleset/StreamingMedia/Region/JP.list b/Surge/Ruleset/StreamingMedia/Region/JP.list new file mode 100644 index 0000000..2898fe4 --- /dev/null +++ b/Surge/Ruleset/StreamingMedia/Region/JP.list @@ -0,0 +1,28 @@ +# > AbemaTV +USER-AGENT,AbemaTV* +DOMAIN-SUFFIX,abema.io +DOMAIN-SUFFIX,abema.tv +DOMAIN-SUFFIX,ameba.jp +DOMAIN-SUFFIX,hayabusa.io +DOMAIN-KEYWORD,abematv.akamaized.net + +# > DMM +DOMAIN-SUFFIX,dmm.co.jp +DOMAIN-SUFFIX,dmm.com +DOMAIN-SUFFIX,dmm-extension.com + +# > Hulu / フールー +DOMAIN-SUFFIX,happyon.jp +DOMAIN-SUFFIX,hjholdings.jp +DOMAIN-SUFFIX,hulu.jp + +# > niconico +USER-AGENT,Niconico* +DOMAIN-SUFFIX,dmc.nico +DOMAIN-SUFFIX,nicovideo.jp +DOMAIN-SUFFIX,nimg.jp + +# > TVer +USER-AGENT,TVer-Release* +DOMAIN-SUFFIX,tver.jp +DOMAIN,edge.api.brightcove.com \ No newline at end of file diff --git a/Surge/Ruleset/StreamingMedia/Region/KR.list b/Surge/Ruleset/StreamingMedia/Region/KR.list new file mode 100644 index 0000000..98f8791 --- /dev/null +++ b/Surge/Ruleset/StreamingMedia/Region/KR.list @@ -0,0 +1,4 @@ +# > Naver TV +USER-AGENT,Naver%20TV* +DOMAIN-SUFFIX,naver.com +DOMAIN-SUFFIX,smartmediarep.com \ No newline at end of file diff --git a/Surge/Ruleset/StreamingMedia/Region/README.md b/Surge/Ruleset/StreamingMedia/Region/README.md new file mode 100644 index 0000000..c624114 --- /dev/null +++ b/Surge/Ruleset/StreamingMedia/Region/README.md @@ -0,0 +1,5 @@ +## 说明 + +可以使用本目录下的流媒体分流文件按区域分流。 + +但需要注意的是,如 YouTube、Netflix、Amazon Prime Video 这类覆盖地区广泛或没有进行区域限制的流媒体服务并不在其中。 \ No newline at end of file diff --git a/Surge/Ruleset/StreamingMedia/Region/TW.list b/Surge/Ruleset/StreamingMedia/Region/TW.list new file mode 100644 index 0000000..7120181 --- /dev/null +++ b/Surge/Ruleset/StreamingMedia/Region/TW.list @@ -0,0 +1,27 @@ +# > Bahamut +USER-AGENT,Anime* +DOMAIN-SUFFIX,bahamut.com.tw +DOMAIN-SUFFIX,gamer.com.tw +DOMAIN,gamer-cds.cdn.hinet.net +DOMAIN,gamer2-cds.cdn.hinet.net + +# > KKTV +USER-AGENT,KKTV* +USER-AGENT,com.kktv.ios.kktv* +DOMAIN-SUFFIX,kktv.com.tw +DOMAIN-SUFFIX,kktv.me +DOMAIN,kktv-theater.kk.stream + +# > LINE TV +USER-AGENT,LINE%20TV* +DOMAIN-SUFFIX,linetv.tw +DOMAIN,d3c7rimkq79yfu.cloudfront.net + +# > LiTV +DOMAIN-SUFFIX,litv.tv +DOMAIN,litvfreemobile-hichannel.cdn.hinet.net + +# > 台湾好 +USER-AGENT,TaiwanGood* +DOMAIN-SUFFIX,skyking.com.tw +DOMAIN,hamifans.emome.net \ No newline at end of file diff --git a/Surge/Ruleset/StreamingMedia/Region/UK.list b/Surge/Ruleset/StreamingMedia/Region/UK.list new file mode 100644 index 0000000..a89a1f6 --- /dev/null +++ b/Surge/Ruleset/StreamingMedia/Region/UK.list @@ -0,0 +1,23 @@ +# > All 4 +USER-AGENT,All4* +DOMAIN-SUFFIX,c4assets.com +DOMAIN-SUFFIX,channel4.com + +# > BBC iPlayer +USER-AGENT,BBCiPlayer* +DOMAIN-SUFFIX,bbc.co.uk +DOMAIN-SUFFIX,bbci.co.uk +DOMAIN-KEYWORD,bbcfmt +DOMAIN-KEYWORD,uk-live + +# > ITV +USER-AGENT,ITV_Player* +DOMAIN-SUFFIX,itv.com +DOMAIN-SUFFIX,itvstatic.com +DOMAIN,itvpnpmobile-a.akamaihd.net + +# > My5 +USER-AGENT,My5* +DOMAIN-SUFFIX,channel5.com +DOMAIN-SUFFIX,my5.tv +DOMAIN,d349g9zuie06uo.cloudfront.net \ No newline at end of file diff --git a/Surge/Ruleset/StreamingMedia/Region/US.list b/Surge/Ruleset/StreamingMedia/Region/US.list new file mode 100644 index 0000000..6098f60 --- /dev/null +++ b/Surge/Ruleset/StreamingMedia/Region/US.list @@ -0,0 +1,43 @@ +# > Disney+ +USER-AGENT,Disney+* +DOMAIN-SUFFIX,bamgrid.com +DOMAIN-SUFFIX,disneyplus.com +DOMAIN-SUFFIX,disney-plus.net +DOMAIN-SUFFIX,disneystreaming.com +DOMAIN-SUFFIX,dssott.com +DOMAIN,cdn.registerdisney.go.com + +# > encoreTVB +USER-AGENT,encoreTVB* +DOMAIN-SUFFIX,encoretvb.com +DOMAIN,edge.api.brightcove.com +DOMAIN,bcbolt446c5271-a.akamaihd.net + +# > HBO NOW & Max +USER-AGENT,HBO%20NOW* +DOMAIN-SUFFIX,hbo.com +DOMAIN-SUFFIX,hbogo.com +DOMAIN-SUFFIX,hbonow.com +USER-AGENT,HBOMAX* +DOMAIN-SUFFIX,hbomax.com +DOMAIN-SUFFIX,hbomaxcdn.com + +# > Hulu +DOMAIN-SUFFIX,hulu.com +DOMAIN-SUFFIX,huluim.com +DOMAIN-SUFFIX,hulustream.com + +# > Paramount+ +USER-AGENT,PPlus* +DOMAIN-SUFFIX,cbsi.com +DOMAIN-SUFFIX,cbsaavideo.com +DOMAIN-SUFFIX,cbsivideo.com +DOMAIN-SUFFIX,paramountplus.com +DOMAIN-SUFFIX,pplusstatic.com +DOMAIN,cbsi.live.ott.irdeto.com +DOMAIN,cbsplaylistserver.aws.syncbak.com +DOMAIN,cbsservice.aws.syncbak.com + +# > PBS +USER-AGENT,PBS* +DOMAIN-SUFFIX,pbs.org \ No newline at end of file diff --git a/Surge/Ruleset/StreamingMedia/Streaming.list b/Surge/Ruleset/StreamingMedia/Streaming.list index aa48e31..c1a244e 100644 --- a/Surge/Ruleset/StreamingMedia/Streaming.list +++ b/Surge/Ruleset/StreamingMedia/Streaming.list @@ -88,6 +88,8 @@ DOMAIN-KEYWORD,uk-live USER-AGENT,DAZN* DOMAIN-SUFFIX,dazn.com DOMAIN-SUFFIX,dazn-api.com +DOMAIN-SUFFIX,dazndn.com +DOMAIN-SUFFIX,indazn.com DOMAIN,d151l6v8er5bdm.cloudfront.net DOMAIN-KEYWORD,voddazn # > Disney+ @@ -113,15 +115,6 @@ DOMAIN-SUFFIX,fox.com DOMAIN-SUFFIX,foxdcg.com DOMAIN-SUFFIX,theplatform.com DOMAIN-SUFFIX,uplynk.com -# > FOX+ -DOMAIN-SUFFIX,foxplus.com -# DOMAIN-SUFFIX,theplatform.com -DOMAIN,cdn-fox-networks-group-green.akamaized.net -DOMAIN,d3cv4a9a9wh0bt.cloudfront.net -DOMAIN,foxsports01-i.akamaihd.net -DOMAIN,foxsports02-i.akamaihd.net -DOMAIN,foxsports03-i.akamaihd.net -DOMAIN,staticasiafox.akamaized.net # > HBO NOW & Max USER-AGENT,HBO%20NOW* DOMAIN-SUFFIX,hbo.com diff --git a/Surge/Ruleset/StreamingMedia/Video/DAZN.list b/Surge/Ruleset/StreamingMedia/Video/DAZN.list index c920d1a..73d79ef 100644 --- a/Surge/Ruleset/StreamingMedia/Video/DAZN.list +++ b/Surge/Ruleset/StreamingMedia/Video/DAZN.list @@ -2,5 +2,7 @@ USER-AGENT,DAZN* DOMAIN-SUFFIX,dazn.com DOMAIN-SUFFIX,dazn-api.com +DOMAIN-SUFFIX,dazndn.com +DOMAIN-SUFFIX,indazn.com DOMAIN,d151l6v8er5bdm.cloudfront.net DOMAIN-KEYWORD,voddazn \ No newline at end of file diff --git a/Surge/Ruleset/StreamingMedia/Video/FOXPlus.list b/Surge/Ruleset/StreamingMedia/Video/FOXPlus.list deleted file mode 100644 index fbb6914..0000000 --- a/Surge/Ruleset/StreamingMedia/Video/FOXPlus.list +++ /dev/null @@ -1,9 +0,0 @@ -# > FOX+ -DOMAIN-SUFFIX,foxplus.com -# DOMAIN-SUFFIX,theplatform.com -DOMAIN,cdn-fox-networks-group-green.akamaized.net -DOMAIN,d3cv4a9a9wh0bt.cloudfront.net -DOMAIN,foxsports01-i.akamaihd.net -DOMAIN,foxsports02-i.akamaihd.net -DOMAIN,foxsports03-i.akamaihd.net -DOMAIN,staticasiafox.akamaized.net \ No newline at end of file diff --git a/Surge/Shortcuts/hostname.txt b/Surge/Shortcuts/hostname.txt index cdc3f2f..f52095c 100644 --- a/Surge/Shortcuts/hostname.txt +++ b/Surge/Shortcuts/hostname.txt @@ -1 +1 @@ -api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,cube.elemecdn.com,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,smkmp.96225.com,api.huomao.com,business.msstatic.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn:0,ib-soft.net,www.inoreader.com,list-app-m.i4.cn,icc.one,jxd524.github.io,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,gfp.veta.naver.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,*.uve.weibo.com,weibointl.api.weibo.cn,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,www.zhihu.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net \ No newline at end of file +api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,smkmp.96225.com,api.huomao.com,business.msstatic.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn:0,ib-soft.net,www.inoreader.com,list-app-m.i4.cn,icc.one,jxd524.github.io,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,gfp.veta.naver.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,app.relxtech.com,*.uve.weibo.com,weibointl.api.weibo.cn,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,www.zhihu.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net \ No newline at end of file diff --git a/Surge/Shortcuts/reject.txt b/Surge/Shortcuts/reject.txt index 4edf958..0ef6d6c 100644 --- a/Surge/Shortcuts/reject.txt +++ b/Surge/Shortcuts/reject.txt @@ -146,7 +146,7 @@ ^https?:\/\/mobile-api2011.elong.com\/(adgateway|adv)\/ - reject # > eDaijia ^https?:\/\/pic\.edaijia\.cn\/adsplash\/ - reject -# > eleme - cube.elemecdn.com +# > eleme ^https?:\/\/cube\.elemecdn\.com\/[\w\/]+\.jpeg\?x-oss-process=image\/resize,m_fill,w_\d{3},h_\d{4}\/format,webp\/ - reject ^https?:\/\/cube\.elemecdn\.com\/[\w\/]+\.jpeg\?x-oss-process=image\/resize,m_fill,w_1\d{3},h_2\d{3}\/format,webp\/ - reject ^https?:\/\/cube\.elemecdn\.com\/[\w\/]+\.jpeg\?x-oss-process=image\/resize,m_fill,w_6\d{2},h_8\d{2}\/format,webp\/ - reject @@ -340,6 +340,8 @@ ^https?:\/\/msspjh\.emarbox\.com\/getAdConfig - reject ^https?:\/\/api\.videozhishi\.com\/api\/getAdvertising - reject ^https?:\/\/api\.rr\.tv\/ad\/ - reject +# > RELX - app.relxtech.com +^https?:\/\/app\.relxtech\.com\/dianziyan-api\/api\/screen\/advert\/random - reject # S # ---(Sina)---