-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-news.plugin
25 lines (22 loc) · 1.36 KB
/
test-news.plugin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!name= iRingo for News
#!desc=(V2) 1.自定义解锁News的地区 2.Coming Soon… 注:该插件包含代理规则,安装过程中需要匹配代理策略组为🇺🇸线路,使用过程中gateway.icloud.com会走与News相同的代理线路。
#!openUrl=http://boxjs.com/#/app/iRingo.News
#!author=VirgilClyne
#!homepage=https://github.com/VirgilClyne
#!manual=https://github.com/VirgilClyne/iRingo/wiki/📰News
#!icon=https://www.apple.com/v/apple-news/i/images/shared/icon_news_plus__c9r2qvl6xfqu_large.png
[Rule]
# > Apple News
# > iCloud
DOMAIN-SUFFIX,gateway.icloud.com
# > Apple News
DOMAIN-SUFFIX,news-edge.apple.com
DOMAIN-SUFFIX,news-events.apple.com
DOMAIN-SUFFIX,apple.comscoreresearch.com
# > News+ Audio
URL-REGEX,^https?:\/\/news-assets\.apple\.com\/.*(audio-narrative|podcast\/audio).*
[Script]
http-request ^https?:\/\/news-(edge|events)\.apple\.com\/(v1\/configs|analyticseventsv2\/async)(\?.*)?$ script-path=https://raw.githubusercontent.com/VirgilClyne/iRingo/main/js/News.request.js, requires-body=true, tag=News
http-request ^https?:\/\/news-client-search\.apple\.com\/v1\/search(\?.*)?$ script-path=https://raw.githubusercontent.com/VirgilClyne/iRingo/main/js/News.request.js, tag=News Search
[MITM]
hostname = news-client.apple.com, news-client-search.apple.com, news-edge.apple.com, news-events.apple.com, newsletter-edge.apple.com