GoForum🌐 V2EX

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

jjijack · 2026-05-05 14:25 · 0 次点赞 · 2 条回复

我一直在 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 消息很有关联,很有可能也是国内国内新增地理围栏的一环?

2 条回复
di11wei · 2026-05-05 14:40
#1

反正我用 Loon 是正常的。他们网站上不也写着小火箭部分兼容么,我猜可能是程序问题吧。 https://www.v2ex.com/i/4YCi83MG.png

jjijack · 2026-05-05 14:50
#2

@di11wei 我前几个月用小火箭是完全没问题的,就这两天出现了不代理没法用的问题。Loon 可能一直都是代理着的,所以没变化?

添加回复
你还需要 登录 后发表回复

登录后可发帖和回复

登录 注册
主题信息
作者: jjijack
发布: 2026-05-05
点赞: 0
回复: 0