puppylpg / oddish

Crawl csgo skin info from `buff.163.com` and steam, then find the most suitable one to buy from the former and to sell to the latter.
https://puppylpg.github.io/2019/12/07/python-crawler-buff-optimaze/
GNU General Public License v3.0
323 stars 81 forks source link

在手机上用termux运行脚本提示登录buff #65

Closed HorizenX1 closed 3 years ago

HorizenX1 commented 3 years ago

问题描述

config.ini是同一个,脚本在电脑上可以正常运行,但是在手机上termux运行时提示需要登录buff,

复现步骤

报错信息

2021-01-01 16:02:21,639 [ERROR] Error happens: 2021-01-01 16:02:21,639 [ERROR] {'code': 'Login Required', 'error': '请先登录', 'extra': None} 2021-01-01 16:02:21,639 [ERROR] Error field: 请先登录 2021-01-01 16:02:21,639 [ERROR] Please paste correct buff cookie to config, current cookie:Device-Id=aSimVUW2OBHa9VrfZclK; _ntes_nnid=e12b34b229ea7d7c20e6f41bf84ca07f,1607783867858; Locale-Supported=zh-Hans; game=csgo; NTES_YD_SESS=iUYV5gf70UYHlz9Iix5jjcW3OzztPIHmZ9VbUu1BxVuWIBoZIK0.mFujckt5WdN1PxFW2h_5LDemFc0q3UCJwcv5ImR5nSCWCkqePfj8k0SWESYd33O0c2mQipDA6LcrbS3860Wb69nSjUs7r_urdQFqIE5AVaUZUsrXSxeTaYQ70xbtggZYNoD_vx1R5EXuR6WBTq2dmURZXCO3Z5Uzi.mRgs9z4vCD7__ddTShWuKbq; S_INFO=1609475970|0|3&80##|18398861930; P_INFO=18398861930|1609475970|1|netease_buff|00&99|null&null&null#sic&510100#10#0|&0|null|18398861930; remember_me=U1091851997|A8BcSgnDzK8V5ImGsxCmg0ZvxT2nXaOv; session=1-7QfViYSgUOSXjVdGNKnzQlNKbzMBIfIOzO5LnHNJD06U2044381573; csrf_token=IjQ4ZTM0NjcxOGM4MWMyMjEwYzNlYTU4NjM1MDM5Y2RjZmE3NDhiMGYi.EtA5Ig.Ol1-eYA0aBb9N1VyKDdbj-OCstM

相关截屏(最好贴一下)

Screenshot_20210101-160234_Termux

软件信息

请完善以下信息:

puppylpg commented 3 years ago

在手机上运行的时候,电脑端网页是不是已经关了一段时间,导致cookie已经失效了?

HorizenX1 commented 3 years ago

在手机上运行的时候,电脑端网页是不是已经关了一段时间,导致cookie已经失效了?

没有,我在电脑以相同的配置文件运行成功了

puppylpg commented 3 years ago

c

这个不清楚了……没在手机上搞过……