update
This commit is contained in:
10
jd_nzmh.js
10
jd_nzmh.js
@@ -2,6 +2,7 @@
|
||||
女装盲盒
|
||||
活动时间:2021-2-26至2021-3-8
|
||||
活动地址:https://anmp.jd.com/babelDiy/Zeus/3DSHPs2xC66RgcCEB8YVLsudqfh5/index.html
|
||||
活动地址:https://anmp.jd.com/babelDiy/Zeus/gY7ymUmC8ZM74Zw3woiDDQU1naT/index.html
|
||||
活动入口:京东app-女装馆-赢京豆
|
||||
已支持IOS双京东账号,Node.js支持N个京东账号
|
||||
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
|
||||
@@ -64,6 +65,7 @@ if ($.isNode()) {
|
||||
continue
|
||||
}
|
||||
await jdMh()
|
||||
await jdMh('https://anmp.jd.com/babelDiy/Zeus/gY7ymUmC8ZM74Zw3woiDDQU1naT/index.html?wxAppName=jd')
|
||||
}
|
||||
}
|
||||
})()
|
||||
@@ -74,8 +76,8 @@ if ($.isNode()) {
|
||||
$.done();
|
||||
})
|
||||
|
||||
async function jdMh() {
|
||||
await getInfo()
|
||||
async function jdMh(url) {
|
||||
await getInfo(url)
|
||||
await getUserInfo()
|
||||
await draw()
|
||||
while ($.userInfo.bless >= $.userInfo.cost_bless_one_time) {
|
||||
@@ -94,10 +96,10 @@ function showMsg() {
|
||||
})
|
||||
}
|
||||
|
||||
function getInfo() {
|
||||
function getInfo(url = 'https://anmp.jd.com/babelDiy/Zeus/3DSHPs2xC66RgcCEB8YVLsudqfh5/index.html?wxAppName=jd') {
|
||||
return new Promise(resolve => {
|
||||
$.get({
|
||||
url: 'https://anmp.jd.com/babelDiy/Zeus/3DSHPs2xC66RgcCEB8YVLsudqfh5/index.html?wxAppName=jd',
|
||||
url,
|
||||
headers: {
|
||||
Cookie: cookie
|
||||
}
|
||||
|
Reference in New Issue
Block a user