Skip to content

Commit 2b0d53d

Browse files
author
Leaf
committed
更新支持看点宝
1 parent 6e42811 commit 2b0d53d

1 file changed

Lines changed: 19 additions & 35 deletions

File tree

‎ydd.js‎

Lines changed: 19 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
/*
2-
IOS:阅多多/悦看点
3-
理论上可以直接跑两个APP的账号,每天金币7毛以上,提现1元和5元需要做任务拿提现券
4-
阅多多下载注册地址:https://yuekandian.yichengw.cn/download?app=3&referrer=729879
2+
IOS:看点宝/阅多多/悦看点
3+
三个APP分别捉包,可以共用一个脚本跑任务
4+
比较容易黑,不要跑太频繁,每天11次就可以领完任务奖励
5+
每天金币7毛以上,提现1元和5元需要做任务拿提现券
6+
看点宝下载注册地址:https://yuekandian.yichengw.cn/download?app=5&referrer=764084
57
6-
默认不提现1块,可以在环境变量yddSkipWithdraw设置不想提现的金额,逗号隔开,填0就会尝试提现所有金额
7-
export yddSkipWithdraw='1,5'
8+
可以在环境变量yddSkipWithdraw设置不想提现的金额,逗号隔开,填0就会尝试提现所有金额
9+
export yddSkipWithdraw='1'
810
911
青龙:
1012
捉取 https://yuekandian.yichengw.cn/api/v1/member/profile 的包里的Authorization(把前面的Bearer删掉),device和User-Agent,按顺序用#连起来写到yddCookie里,多账户用@隔开
1113
export yddCookie='账号1的Authorization#device#UA@账号2的Authorization#device#UA'
1214
1315
V2P重写:打开APP即可获取CK,没有的话点一下我的页面或者赚钱页面
1416
[task_local]
15-
#阅多多
16-
0-59/15 8-23 * * * https://raw.githubusercontent.com/leafxcy/JavaScript/main/ydd.js, tag=阅多多, enabled=true
17+
#看点宝/阅多多/悦看点
18+
15 9-21 * * * https://raw.githubusercontent.com/leafxcy/JavaScript/main/ydd.js, tag=看点宝/阅多多/悦看点, enabled=true
1719
[rewrite_local]
1820
https://yuekandian.yichengw.cn/api/v1/member/profile url script-request-header https://raw.githubusercontent.com/leafxcy/JavaScript/main/ydd.js
1921
[MITM]
@@ -41,7 +43,7 @@ let userDevice = []
4143
let userAgent = []
4244
let userCookie = []
4345

44-
let yddSkipWithdraw = ($.isNode() ? process.env.yddSkipWithdraw : $.getdata('yddSkipWithdraw')) || '1';
46+
let yddSkipWithdraw = ($.isNode() ? process.env.yddSkipWithdraw : $.getdata('yddSkipWithdraw')) || '0';
4547
let skipWithdraw = []
4648

4749
let userIdx = 0
@@ -64,7 +66,7 @@ let barrierFlag = []
6466
let doneTaskList = []
6567
let doneTaskTicket = []
6668

67-
let NUM_PER_ROUND = 1
69+
let NUM_PER_ROUND = 2
6870

6971
let LOTTERY_TYPE = 1
7072
let AD_TICKET_TYPE = 5
@@ -285,31 +287,6 @@ async function RunMultiUser() {
285287
await $.wait(100)
286288
}
287289

288-
//============= 助力领现金 =============
289-
console.log('\n准备看助力领现金视频...')
290-
for(userIdx=0; userIdx<yddCookieArr.length; userIdx++) {
291-
await HelpClick()
292-
if(helpTicket[userIdx]) needHelpVideo=1
293-
}
294-
await $.wait(100)
295-
296-
if(needHelpVideo > 0) {
297-
for(userIdx=0; userIdx<yddCookieArr.length; userIdx++) {
298-
if(helpTicket[userIdx]) await WatchAd(HELP_TYPE)
299-
}
300-
await $.wait(100)
301-
for(userIdx=0; userIdx<yddCookieArr.length; userIdx++) {
302-
if(helpTicket[userIdx]) await LogAd(AD_TICKET_TYPE,helpTicket[userIdx])
303-
}
304-
await $.wait(100)
305-
}
306-
307-
console.log('\n查询助力领现金状态...')
308-
for(userIdx=0; userIdx<yddCookieArr.length; userIdx++) {
309-
await HelpInfo()
310-
}
311-
await $.wait(100)
312-
313290
//============= 闯关换手机 =============
314291
console.log('\n查询闯关状态...')
315292
for(userIdx=0; userIdx<yddCookieArr.length; userIdx++) {
@@ -833,7 +810,8 @@ async function QueryWithdrawList() {
833810
}
834811
if(skipFlag==1) continue
835812
if(userInfo[userIdx].point>item.jinbi && userInfo[userIdx].ticket>item.cond && item.is_ok==1) {
836-
await Withdraw(item.jine)
813+
console.log(`用户${userIdx+1}准备提现${item.jine}元`)
814+
//await Withdraw(item.jine)
837815
if(withdrawFlag[userIdx]==1) break;
838816
}
839817
}
@@ -1012,6 +990,9 @@ function populatePostUrl(url,reqBody=''){
1012990
if(userAgent[userIdx].indexOf('CBD') > -1) {
1013991
urlObject.headers['version'] = '2'
1014992
urlObject.headers['app'] = '3'
993+
} else if(userAgent[userIdx].indexOf('KDB') > -1) {
994+
urlObject.headers['version'] = '1'
995+
urlObject.headers['app'] = '5'
1015996
}
1016997
return urlObject;
1017998
}
@@ -1036,6 +1017,9 @@ function populateGetUrl(url){
10361017
if(userAgent[userIdx].indexOf('CBD') > -1) {
10371018
urlObject.headers['version'] = '2'
10381019
urlObject.headers['app'] = '3'
1020+
} else if(userAgent[userIdx].indexOf('KDB') > -1) {
1021+
urlObject.headers['version'] = '1'
1022+
urlObject.headers['app'] = '5'
10391023
}
10401024
return urlObject;
10411025
}

0 commit comments

Comments
 (0)