Skip to content

Commit 7a503ce

Browse files
committed
增加腾讯新闻跳转重写
1 parent 9aefc1c commit 7a503ce

4 files changed

Lines changed: 14 additions & 3 deletions

File tree

TaskConf/txnews/loon.plugin

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
cron ”04 00 * * *“ script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js, enabled=true, tag=腾讯新闻
44

55
http-request https:\/\/api\.inews\.qq\.com\/event\/v1\/user\/event\/report\? script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js, requires-body=true, enabled=true, tag=腾讯新闻
6+
http-request https:\/\/api\.prize\.qq\.com\/v1\/newsapp\/chajianrp\/sendprize script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js, enabled=true, tag=腾讯新闻
67

78
[MITM]
8-
hostname = api.inews.qq.com
9+
hostname = api.inews.qq.com, api.prize.qq.com

TaskConf/txnews/qx_rewite.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
hostname = api.inews.qq.com
1+
hostname = api.inews.qq.com, api.prize.qq.com
22

33
https:\/\/api\.inews\.qq\.com\/event\/v1\/user\/event\/report\? url script-request-body https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js
4+
5+
https:\/\/api\.prize\.qq\.com\/v1\/newsapp\/chajianrp\/sendprize url script-request-header https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js

TaskConf/txnews/readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ https://raw.githubusercontent.com/Sunert/Scripts/master/TaskConf/txnews/surge.sg
2424
腾讯新闻 = type=cron,cronexp=0 8 0 * * *,script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js,script-update-interval=0
2525
2626
腾讯新闻 = type=http-request,pattern=https:\/\/api\.inews\.qq\.com\/event\/v1\/user\/event\/report\?,script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js, requires-body=true
27+
28+
腾讯新闻 = type=http-request,pattern=https:\/\/api\.prize\.qq\.com\/v1\/newsapp\/chajianrp\/sendprize,script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js
2729
```
2830
#### Shadowrocket(Cron配置):
2931

@@ -44,6 +46,7 @@ https://raw.githubusercontent.com/Sunert/Scripts/master/TaskConf/txnews/loon.plu
4446
[Script]
4547
cron "04 00 * * *" script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js, enabled=true, tag=腾讯新闻
4648
http-request https:\/\/api\.inews\.qq\.com\/event\/v1\/user\/event\/report\? script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js, requires-body=true, enabled=true, tag=腾讯新闻
49+
腾讯新闻 = type=http-request,pattern=https:\/\/api\.prize\.qq\.com\/v1\/newsapp\/chajianrp\/sendprize,script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js
4750
```
4851
#### Quantumult X:
4952
* [远程重写配置](https://raw.githubusercontent.com/Sunert/Scripts/master/TaskConf/txnews/qx_rewite.txt)
@@ -57,6 +60,7 @@ https://raw.githubusercontent.com/Sunert/Scripts/master/TaskConf/txnews/qx_rewit
5760
```
5861
[rewrite_local]
5962
https:\/\/api\.inews\.qq\.com\/event\/v1\/user\/event\/report\? url script-request-body https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js
63+
https:\/\/api\.prize\.qq\.com\/v1\/newsapp\/chajianrp\/sendprize url script-request-header https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js
6064
```
6165
* 本地任务配置
6266

@@ -69,6 +73,8 @@ https:\/\/api\.inews\.qq\.com\/event\/v1\/user\/event\/report\? url script-reque
6973
1. 打开腾讯新闻app,阅读几篇文章,倒计时结束后即可获取阅读Cookie
7074

7175
2. 看一次推荐视频,获取视频地址
76+
77+
3. 打开链接"https://news.qq.com/FERD/cjRedDown.htm"或者点击腾讯新闻通知,获取天天领红包地址
7278

7379
>>> [回到顶部](#IOS配置教程)
7480

TaskConf/txnews/surge.sgmodule

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77

88
腾讯新闻 = type=http-request,pattern=https:\/\/api\.inews\.qq\.com\/event\/v1\/user\/event\/report\?,script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js, requires-body=true
99

10+
腾讯新闻 = type=http-request,pattern=https:\/\/api\.prize\.qq\.com\/v1\/newsapp\/chajianrp\/sendprize, script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/txnews.js
11+
1012
[MITM]
11-
hostname = api.inews.qq.com
13+
hostname = api.inews.qq.com, api.prize.qq.com

0 commit comments

Comments
 (0)