This repository was archived by the owner on Jun 23, 2023. It is now read-only.
怎么改呀? #31
Unanswered
yeguiren15
asked this question in
Q&A
怎么改呀?
#31
Replies: 1 comment
-
帳號密碼輸錯了吧?有到config.yml去改帳號密碼嗎 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
py main.py list -d
2022-06-25 02:32:45.979 | INFO | automaton.spider.spider:login:38 - [登录] | 正在获取验证码...
2022-06-25 02:32:46.105 | INFO | automaton.spider.captcha.captcha:recognize:40 - [验证码识别] | 识别结果:5514
2022-06-25 02:32:46.108 | INFO | automaton.spider.spider:login:42 - [登录] | 正在登录...
2022-06-25 02:32:46.213 | DEBUG | automaton.spider.spider:login:56 - [登录] | {'code': -27, 'msg': '用户名密码错误!'}
2022-06-25 02:32:46.220 | WARNING | automaton.spider.spider:login:62 - [登录] | 登录出错:
Traceback (most recent call last):
File "C:\Users\Oedipus\Documents\GitHub\iSmartAuto2\automaton\spider\spider.py", line 57, in login
assert info['code'] == -26 # 断言登录结果
AssertionError
2022-06-25 02:32:46.222 | INFO | automaton.spider.spider:get_courses:66 - [获取课程列表] | 正在获取课程列表...
2022-06-25 02:32:46.716 | WARNING | automaton.spider.spider:get_courses:78 - [获取课程列表] | 获取课程列表出错:
Traceback (most recent call last):
File "C:\Users\Oedipus\Documents\GitHub\iSmartAuto2\automaton\spider\spider.py", line 67, in get_courses
courses = (await self.post(
File "C:\Users\Oedipus\AppData\Local\Programs\Python\Python39\lib\site-packages\httpx_models.py", line 742, in json
return jsonlib.loads(self.content.decode(encoding), **kwargs)
File "C:\Users\Oedipus\AppData\Local\Programs\Python\Python39\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\Oedipus\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Oedipus\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2022-06-25 02:32:46.727 | WARNING | automaton.utils:list_books:36 - [读取信息] | 读取信息出错:
Traceback (most recent call last):
File "C:\Users\Oedipus\Documents\GitHub\iSmartAuto2\automaton\utils.py", line 21, in list_books
for cr in courses:
TypeError: 'NoneType' object is not iterable
Beta Was this translation helpful? Give feedback.
All reactions