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

口袋48更新了接口 目前无法获取房间信息 #33

Open
shiningPrince1003 opened this issue Jun 2, 2020 · 6 comments
Open

口袋48更新了接口 目前无法获取房间信息 #33

shiningPrince1003 opened this issue Jun 2, 2020 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@shiningPrince1003
Copy link

2020-06-02 09:33:52,214 - WARNING -
获取口袋房间信息出错
请升级到最新版本

2020-06-02 09:33:52,249 - INFO -
request fail when Koudai48.getAllPage.status
{'status': 500, 'success': False, 'message': '请升级到最新版本'}

2020-06-02 09:33:52,249 - INFO -
room-check completed

@chinshin chinshin self-assigned this Jun 3, 2020
@chinshin
Copy link
Owner

chinshin commented Jun 3, 2020

@chinshin chinshin closed this as completed Jun 3, 2020
@shiningPrince1003
Copy link
Author

setting.py 中获取token失败。抓包得知此处也应该带有pa参数。

Accept: /
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-Hans-CN;q=1
Connection: keep-alive
Content-Length: 44
Content-Type: application/json;charset=utf-8
Host: pocketapi.48.cn
User-Agent: PocketFans201807/6.0.13 (iPhone; iOS 13.4.1; Scale/2.00)
appInfo: {"vendor":"apple","deviceId":"----","appVersion":"6.0.13","appBuild":"200513","osVersion":"13.4.1","osType":"ios","deviceName":"iphone","os":"ios"}
pa: ********************************************************************

@chinshin chinshin reopened this Jun 4, 2020
@chinshin chinshin added the bug Something isn't working label Jun 4, 2020
@chinshin
Copy link
Owner

chinshin commented Jun 4, 2020

fixed, check please

@shiningPrince1003
Copy link
Author

shiningPrince1003 commented Jun 5, 2020

token验证和获取还是会报错,使用全新setting.conf (无token)会提示:

2020-06-05 11:30:59,697 - WARNING -
koudai48.py授权验证失败
{'status': 401005, 'success': False, 'message': 'token解密失败'}

2020-06-05 11:30:59,698 - WARNING -
error when getRoomMsg
name 'time' is not defined

2020-06-05 11:30:59,698 - INFO -
room-check completed

使用旧setting.conf (带有过期token)会提示:

2020-06-05 11:54:03,519 - WARNING -
koudai48.py授权验证失败
{'status': 401004, 'success': False, 'message': '非法授权'}

2020-06-05 11:54:03,520 - WARNING -
error when getRoomMsg
name 'time' is not defined

2020-06-05 11:54:03,520 - INFO -
room-check completed

@chinshin chinshin reopened this Jun 5, 2020
chinshin added a commit that referenced this issue Jun 5, 2020
update appinfo
#33
@chinshin
Copy link
Owner

chinshin commented Jun 5, 2020

现在试试呢。。。

@shiningPrince1003
Copy link
Author

token获取还是不可以
'''
2020-06-07 11:25:01,639 - WARNING -
koudai48.py授权验证失败
{'status': 401005, 'success': False, 'message': 'token解密失败'}

2020-06-07 11:25:01,640 - WARNING -
error when getRoomMsg
name 'time' is not defined

2020-06-07 11:25:01,640 - INFO -
room-check completed
'''
使用抓包ID手动填入 setting.conf 可正常使用

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants