Skip to content

Commit ca7a258

Browse files
committed
1 parent d01f7d5 commit ca7a258

7 files changed

Lines changed: 8 additions & 26 deletions

File tree

.github/workflows/weibo.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
if: github.event.repository.owner.id == github.event.sender.id
1414
env:
1515
WB_TOKEN: ${{ secrets.WB_TOKEN }}
16-
WB_PAY: ${{ secrets.WB_PAY }}
1716
steps:
1817
- name: Checkout
1918
uses: actions/checkout@v2

Task/GithubActions.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
| Name | 脚本相关YML | Value分割符 | 必须 / 可选 | 注意事项及样式(其中"xxx"代表任意字符) |
44
| :-------: | :------: | :-------: | ------ | ------- |
5-
| YOUTH_HEADER | <span style="font-size:18; color:#0000ff"> 中青看点 youth.yml </span> | # | 必须 | 请求地址: "https://kd.youth.cn/TaskCenter/getSign", <br>中青签到请求头: { xxx } |
5+
| YOUTH_HEADER | <span style="font-size:18; color:#0000ff"> 中青看点 youth.yml </span> | # | 必须 | 请求地址: "https://kd.youth.cn/WebApi/NewTaskIos/getTaskList", <br>中青签到请求头引用: uid=xxx&cookie_id=xxx&cookie=xxx|
66
| YOUTH_ARTBODY | 同上 | & | 必须 | 请求地址: "https://ios.baertt.com/v5/article/complete", <br>阅读请求体: p=xxx |
77
| YOUTH_REDBODY | 同上 | & | 必须 | 请求地址: "https://ios.baertt.com/v5/article/red_packet", <br>惊喜红包请求体: p=xxx |
88
| YOUTH_TIME | 同上 | & | 必须 | 请求地址: "https://ios.baertt.com/v5/user/app_stay.json", <br>阅读时长请求体: p=xxx |
@@ -21,8 +21,7 @@
2121
| DSJ_DRAWAL | 同上 | #或换行 | 必须 | 请求地址: "http://api.gaoqingdianshi.com/api/v2/cash/withdrawal", <br>即提现请求地址 |
2222
| DSJ_NOTIFY_CONTROL | 同上 | true/false | 可选 | 电视家通知开关 <br>默认不推送 |
2323
| | | | - | |
24-
| WB_TOKEN | <span style="font-size:18; color:#0000ff">微博 </span> | #或换行 | 必须 | 请求地址: "https://api.weibo.cn/xxx?gsid=", <br>签到token: gsid=xxx |
25-
| WB_PAY | 同上 | #或换行 | 必须 | 请求地址:"https://pay.sc.weibo.com/aj/mobile/home/welfare/signin/do", <br> 提现请求头 |
24+
| WB_TOKEN | <span style="font-size:18; color:#0000ff">微博 </span> | #或换行 | 必须 | 请求地址: "https://api.weibo.cn/xxx?gsid=", <br>签到token: uid=xxx&gsid=xxx&s=xxx |
2625
| | | | - | |
2726

2827
<br>

Task/sunert.boxjs.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
{
99
"author" : "@sunert",
1010
"keys" : [
11-
"sy_payheader_wb",
1211
"sy_token_wb",
1312
"wb_nick"
1413
],

TaskConf/sina/loon.plugin

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ cron "4 0 * * *" script-path=https://raw.githubusercontent.com/Sunert/Scripts/ma
55

66
http-request https:\/\/api\.weibo\.cn\/\d\/user\/show script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js, enabled=true, tag=新浪微博
77

8-
http-request https:\/\/pay\.sc\.weibo\.com\/aj\/mobile\/home\/welfare\/signin\/do\? script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js, enabled=true, tag=新浪微博
98

109
[MITM]
11-
hostname = api.weibo.cn, pay.sc.weibo.com
10+
hostname = api.weibo.cn

TaskConf/sina/qx_rewite.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
hostname = newsapi.sina.cn, api.weibo.cn, pay.sc.weibo.com, lite.sina.cn
1+
hostname = newsapi.sina.cn, api.weibo.cn, lite.sina.cn
22

33
https:\/\/newsapi\.sina\.cn\/\?resource=hbpage&newsId=HB-1-sina_gold_center url script-request-header https://raw.githubusercontent.com/Sunert/Scripts/master/Task/sinanews.js
44

55
https:\/\/newsapi\.sina\.cn\/\?resource=userpoint\/signIn url script-request-header https://raw.githubusercontent.com/Sunert/Scripts/master/Task/sinanews.js
66

77
https:\/\/api\.weibo\.cn\/\d\/user\/show url script-request-header https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js
88

9-
https:\/\/pay\.sc\.weibo\.com\/aj\/mobile\/home\/welfare\/signin\/do\? url script-request-header https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js
10-
119
https?:\/\/lite\.sina\.cn\/\?resource=hbpage&newsId=HB-1-sina_gold_center - script-request-header https://raw.githubusercontent.com/Sunert/Scripts/master/Task/sinanews.js
1210

1311
https?:\/\/lite\.sina\.cn\/\?resource=userpoint\/signIn - script-request-header https://raw.githubusercontent.com/Sunert/Scripts/master/Task/sinanews.js

TaskConf/sina/readme.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
### IOS配置教程
99
```
1010
[MITM]
11-
hostname = api.weibo.cn, pay.sc.weibo.com
11+
hostname = api.weibo.cn
1212
```
1313
#### Surge:
1414
* [模块地址](https://raw.githubusercontent.com/Sunert/Scripts/master/TaskConf/sina/surge.sgmodule)
@@ -24,9 +24,6 @@ https://raw.githubusercontent.com/Sunert/Scripts/master/TaskConf/sina/surge.sgmo
2424
2525
# 获取微博 Cookie.
2626
微博签到 = type=http-request,pattern=https:\/\/api\.weibo\.cn\/\d\/user\/show,script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js
27-
28-
# 微博钱包签到Cookie
29-
微博钱包签到 = type=http-request,pattern=https:\/\/pay\.sc\.weibo\.com\/aj\/mobile\/home\/welfare\/signin\/do\?,script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js
3027
```
3128
#### Shadowrocket(Cron配置):
3229

@@ -48,8 +45,6 @@ https://raw.githubusercontent.com/Sunert/Scripts/master/TaskConf/sina/loon.plugi
4845
cron "4 0 * * *" script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js, enabled=true, tag=新浪微博
4946
5047
http-request https:\/\/api\.weibo\.cn\/\d\/user\/show script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js, enabled=true, tag=新浪微博
51-
52-
http-request https:\/\/pay\.sc\.weibo\.com\/aj\/mobile\/home\/welfare\/signin\/do\? script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js, enabled=true, tag=新浪微博
5348
```
5449
#### Quantumult X:
5550
* [远程重写配置](https://raw.githubusercontent.com/Sunert/Scripts/master/TaskConf/txnews/qx_rewite.txt)
@@ -63,9 +58,6 @@ https://raw.githubusercontent.com/Sunert/Scripts/master/TaskConf/sina/qx_rewite.
6358
```
6459
[rewrite_local]
6560
https:\/\/api\.weibo\.cn\/\d\/user\/show url script-request-header https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js
66-
67-
# 钱包签到Cookie
68-
https:\/\/pay\.sc\.weibo\.com\/aj\/mobile\/home\/welfare\/signin\/do\? url script-request-header https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js
6961
```
7062
* 本地任务配置
7163

@@ -75,8 +67,7 @@ https:\/\/pay\.sc\.weibo\.com\/aj\/mobile\/home\/welfare\/signin\/do\? url scrip
7567
```
7668
### 获取Cookie方法
7769
1. 打开微博App,获取Cookie,获取后请注释或禁用Cookie
78-
2. 打开微博钱包点击签到,获取Cookie,
79-
3. 钱包签到时获取Cookie,已经签到无法获取
70+
2. 已取消获取获取钱包Cookie
8071

8172
>>> [回到顶部](#IOS配置教程)
8273
@@ -92,8 +83,7 @@ https:\/\/pay\.sc\.weibo\.com\/aj\/mobile\/home\/welfare\/signin\/do\? url scrip
9283

9384
| Name | 脚本相关YML | Value分割符 | 必须 / 可选 | 注意事项及样式(其中"xxx"代表任意字符) |
9485
| :-------: | :------: | :-------: | ------ | ------- |
95-
| WB_TOKEN | <span style="font-size:18; color:#0000ff">微博 </span> | #或换行 | 必须 | 请求地址: "https://api.weibo.cn/xxx?gsid=", <br>签到token: gsid=xxx |
96-
| WB_PAY | 同上 | #或换行 | 必须 | 请求地址:"https://pay.sc.weibo.com/aj/mobile/home/welfare/signin/do", <br> 提现请求头 |
86+
| WB_TOKEN | <span style="font-size:18; color:#0000ff">微博 </span> | #或换行 | 必须 | 请求地址: "https://api.weibo.cn/2/user/show", <br>签到token: uid=xxx&gsid=xxx&s=xxx |
9787

9888
</details>
9989

TaskConf/sina/surge.sgmodule

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
# 获取微博 Cookie.
99
微博签到 = type=http-request,pattern=https:\/\/api\.weibo\.cn\/\d\/user\/show,script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js
1010

11-
# 微博钱包签到Cookie
12-
微博钱包签到 = type=http-request,pattern=https:\/\/pay\.sc\.weibo\.com\/aj\/mobile\/home\/welfare\/signin\/do\?,script-path=https://raw.githubusercontent.com/Sunert/Scripts/master/Task/weibo.js
1311

1412
[MITM]
15-
hostname = %APPEND% api.weibo.cn, pay.sc.weibo.com
13+
hostname = %APPEND% api.weibo.cn

0 commit comments

Comments
 (0)