Update dwnc.js

This commit is contained in:
smallfawn
2023-05-06 12:48:26 +08:00
committed by GitHub
parent d3593c0e5d
commit 1fa502724d

17
dwnc.js
View File

@@ -105,6 +105,7 @@ class UserInfo {
this.SK = str.split('&')[1];
this.shumeiId = str.split('&')[2];
this.uuid = str.split('&')[3];
this.deviceId = str.split('&')[3];
this.shareCode = null
this.hours = local_hours();
this.ckStatus = null
@@ -118,10 +119,10 @@ class UserInfo {
'ua': ua,
'deviceTrait': deviceTrait,
'channel': channel,
'SK': SK,
'shumeiId': shumeiId,
'uuid': uuid,
'deviceId': deviceId,
'SK': this.SK,
'shumeiId': this.shumeiId,
'uuid': this.uuid,
'deviceId': this.deviceId,
'User-Agent': UserAgent
};
this.headersGet = {
@@ -130,10 +131,10 @@ class UserInfo {
'ua': ua,
'deviceTrait': deviceTrait,
'channel': channel,
'SK': SK,
'shumeiId': shumeiId,
'uuid': uuid,
'deviceId': deviceId,
'SK': this.SK,
'shumeiId': this.shumeiId,
'uuid': this.uuid,
'deviceId': this.deviceId,
'User-Agent': UserAgent
}