mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-19 08:14:36 +08:00
Update 快手极速版开宝箱.js
This commit is contained in:
10
快手极速版开宝箱.js
10
快手极速版开宝箱.js
@@ -43,9 +43,13 @@ class Task extends Public {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async openbox() {
|
async openbox() {
|
||||||
|
let data = JSON.stringify({});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$.log(`快手开宝箱 每小时运行一次`)
|
$.log(`快手开宝箱 每小时运行一次`)
|
||||||
let options = {
|
let options = {
|
||||||
method: 'GET',
|
method: 'POST',
|
||||||
url: `https://nebula.kuaishou.com/rest/wd/encourage/unionTask/treasureBox/report?__NS_sig3=${this.sig3_openbox}&sigCatVer=1%27,`,
|
url: `https://nebula.kuaishou.com/rest/wd/encourage/unionTask/treasureBox/report?__NS_sig3=${this.sig3_openbox}&sigCatVer=1%27,`,
|
||||||
headers: {
|
headers: {
|
||||||
'User-Agent': 'Mozilla/5.0 (Linux; Android 10; MI 8 Lite Build/QKQ1.190910.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.226 KsWebView/1.8.90.770 (rel;r) Mobile Safari/537.36 Yoda/3.2.9-rc6 ksNebula/12.11.40.9331 OS_PRO_BIT/64 MAX_PHY_MEM/5724 KDT/PHONE AZPREFIX/az3 ICFO/0 StatusHT/29 TitleHT/44 NetType/WIFI ISLP/0 ISDM/0 ISLB/0 locale/zh-cn DPS/4.036 DPP/13 SHP/2068 SWP/1080 SD/2.75 CT/0 ISLM/0',
|
'User-Agent': 'Mozilla/5.0 (Linux; Android 10; MI 8 Lite Build/QKQ1.190910.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.226 KsWebView/1.8.90.770 (rel;r) Mobile Safari/537.36 Yoda/3.2.9-rc6 ksNebula/12.11.40.9331 OS_PRO_BIT/64 MAX_PHY_MEM/5724 KDT/PHONE AZPREFIX/az3 ICFO/0 StatusHT/29 TitleHT/44 NetType/WIFI ISLP/0 ISDM/0 ISLB/0 locale/zh-cn DPS/4.036 DPP/13 SHP/2068 SWP/1080 SD/2.75 CT/0 ISLM/0',
|
||||||
@@ -58,7 +62,9 @@ class Task extends Public {
|
|||||||
'Referer': 'https://nebula.kuaishou.com/nebula/task/earning?layoutType=4&hyId=nebula_earning_ug_cdn&source=bottom_guide_second',
|
'Referer': 'https://nebula.kuaishou.com/nebula/task/earning?layoutType=4&hyId=nebula_earning_ug_cdn&source=bottom_guide_second',
|
||||||
'Accept-Language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7',
|
'Accept-Language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7',
|
||||||
'Cookie': '' + this.cookkie
|
'Cookie': '' + this.cookkie
|
||||||
}
|
},
|
||||||
|
data: data
|
||||||
|
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
let { data: res } = await this.request(options);
|
let { data: res } = await this.request(options);
|
||||||
|
|||||||
Reference in New Issue
Block a user