FortuneDayssss/BilibiliUploader

无法登陆

Wanderer666 opened this issue · 0 comments

2021-12-20 11:45:38 - 【ERROR】 - Job "check_two (trigger: interval[0:10:00], next run at: 2021-12-20 11:55:38 CST)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "check.py", line 36, in check_two
run.run()
File "/root/BilibiliUploader/upload/uploader.py", line 44, in run
uploader.login("", "") #请修改这里
File "/root/BilibiliUploader/bilibiliuploader/bilibiliuploader.py", line 14, in login
code, self.access_token, self.refresh_token, self.sid, self.mid, _ = core.login(username, password)
File "/root/BilibiliUploader/bilibiliuploader/core.py", line 202, in login
response_code, access_token, refresh_token, sid, mid, expire_in = login_captcha(username, password, sid)
File "/root/BilibiliUploader/bilibiliuploader/core.py", line 229, in login_captcha
captcha_str = recognize_captcha(captcha_img)
File "/root/BilibiliUploader/bilibiliuploader/core.py", line 141, in recognize_captcha
r = requests.post(
File "/usr/local/lib/python3.8/dist-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 528, in request
prep = self.prepare_request(req)
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 456, in prepare_request
p.prepare(
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 316, in prepare
self.prepare_url(url, params)
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 390, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'NOT SUPPORT': No schema supplied. Perhaps you meant http://NOT SUPPORT?