weatherkit 可能也受到了苹果的地理围栏

5 月 5 日
 jjijack

我一直在 shadowrocket 里用 iringo 提供的 rewrite 版 weatherkit ,解锁未来一小时降水等功能。模块内容如下:

#!url=https://github.com/NSRingo/WeatherKit/raw/main/modules/iRingo.WeatherKit.Workers.srmodule
#!name =  iRingo: 🌤 WeatherKit (Rewrite)
#!desc = iOS 18 & macOS 15 & watchOS 11\n1.解锁全部天气功能\n2.替换空气质量数据\n3.添加下一小时降水数据\n4.添加天气数据
#!openUrl = http://boxjs.com/#/app/iRingo.WeatherKit
#!author = VirgilClyne[https://github.com/VirgilClyne],WordlessEcho[https://github.com/WordlessEcho],001[https://github.com/001ProMax]
#!homepage = https://NSRingo.github.io/guide/Weather/weather-kit
#!icon = https://developer.apple.com/assets/elements/icons/weatherkit/weatherkit-128x128.png
#!category =  iRingo
#!date = 2026-03-12 09:39:04

[Rule]
DOMAIN,weather-analytics-events.apple.com,REJECT-DROP
DOMAIN-SUFFIX,tthr.apple.com,REJECT-DROP
DOMAIN,tether.edge.apple,REJECT-DROP
AND,((OR,((IP-ASN,714,no-resolve),(IP-ASN,6185,no-resolve))),(PROTOCOL,QUIC)),REJECT-DROP

[URL Rewrite]
# 🌤 WeatherKit.api.v1.availability.response
^https?:\/\/weatherkit\.apple\.com\/api\/v1\/availability\/ https://weatherkit.nanocat.cloud/api/v1/availability/ header
# 🌤 WeatherKit.api.v2.weather.response
^https?:\/\/weatherkit\.apple\.com\/api\/v2\/weather\/ https://weatherkit.nanocat.cloud/api/v2/weather/ header

[MITM]
hostname = %APPEND% weatherkit.apple.com

最近我发现不开全局就刷新不出天气。我本来以为是 weatherkit.nanocat.cloud 被墙了,给它加入代理发现没用。而添加

DOMAIN,weatherkit.apple.com,PROXY

后即可正常刷新。国内天气照理也是从 weatherkit.apple.com 直连获取的,现在的情况感觉和国内无法收到 TG 消息很有关联,有可能也是国内新增地理围栏的一环?

6946 次点击
所在节点    iOS
4 条回复
di11wei
5 月 5 日
反正我用 Loon 是正常的。他们网站上不也写着小火箭部分兼容么,我猜可能是程序问题吧。
jjijack
5 月 5 日
@di11wei 我前几个月用小火箭是完全没问题的,就这两天出现了不代理没法用的问题。Loon 可能一直都是代理着的,所以没变化?
century
5 月 5 日
广东电信直联正常,用的 loon ,会不会是 dns 问题?
ajyz
5 月 5 日
一直在用,并没有问题啊,看看版本是否更新,我这边是 3.1.0

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1210295

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX