Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
update appinfo
#33
  • Loading branch information
chinshin committed Jun 5, 2020
1 parent 1a423b8 commit 898b3d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ CoolQ HTTP API请更新至 [最新版本4.10](https://github.com/richardchien/co

## 更新记录

**2020.06.05更新:** `setting.py` bug fix

**2020.06.04更新:** `koudai48.py`, `setting.py` **[该版本未经测试!]** bug fix

**2020.06.03更新:** `koudai48.py` **[该版本未经测试!]** 增加对v6.0.13的支持,谢谢房爷lgy和总工的大力付出
Expand Down
10 changes: 5 additions & 5 deletions setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ def token_verify():
'Host': 'pocketapi.48.cn',
'accept': '*/*',
'Accept-Language': 'zh-Hans-CN;q=1',
'User-Agent': 'PocketFans201807/6.0.0 (iPhone; iOS 12.2; Scale/2.00)',
'User-Agent': 'PocketFans201807/6.0.13 (iPhone; iOS 10.3.3; Scale/2.00)',
'Accept-Encoding': 'gzip, deflate',
'appInfo': '{"vendor":"apple","deviceId":"0","appVersion":"6.0.0","appBuild":"190409","osVersion":"12.2.0","osType":"ios","deviceName":"iphone","os":"ios"}',
'appInfo': '{"osType":"ios","vendor":"apple","os":"ios","appVersion":"6.0.13","osVersion":"10.3.3","deviceName":"iPhone 5","appBuild":"200513","deviceId":"DDDD-DDDD-DDDD-DDDD-DDDD"}',
'Content-Type': 'application/json;charset=utf-8',
'Connection': 'keep-alive',
'token': token,
Expand Down Expand Up @@ -232,11 +232,11 @@ def getNewToken():
'Host': 'pocketapi.48.cn',
'accept': '*/*',
'Accept-Language': 'zh-Hans-CN;q=1',
'User-Agent': 'PocketFans201807/6.0.0 (iPhone; iOS 12.2; Scale/2.00)',
'User-Agent': 'PocketFans201807/6.0.13 (iPhone; iOS 10.3.3; Scale/2.00)',
'Accept-Encoding': 'gzip, deflate',
'appInfo': '{"vendor":"apple","deviceId":"0","appVersion":"6.0.0","appBuild":"190409","osVersion":"12.2.0","osType":"ios","deviceName":"iphone","os":"ios"}',
'appInfo': '{"osType":"ios","vendor":"apple","os":"ios","appVersion":"6.0.13","osVersion":"10.3.3","deviceName":"iPhone 5","appBuild":"200513","deviceId":"DDDD-DDDD-DDDD-DDDD-DDDD"}',
'Content-Type': 'application/json;charset=utf-8',
'Connection': 'keep-alive'
'Connection': 'keep-alive',
}
form = {
"mobile": user,
Expand Down

0 comments on commit 898b3d9

Please sign in to comment.