This commit is contained in:
lxk0301
2021-03-02 16:31:54 +08:00
parent 453d638c0d
commit 48d0006d94

View File

@@ -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
}