Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载失效了 #50

Open
lemonguess opened this issue Oct 25, 2022 · 0 comments
Open

下载失效了 #50

lemonguess opened this issue Oct 25, 2022 · 0 comments

Comments

@lemonguess
Copy link

即将开始下载章节:项目的介绍与配置

Traceback (most recent call last):
File "qcourse.py", line 154, in
main()
File "qcourse.py", line 123, in main
asyncio.run(
File "D:\software\anaconda3\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\software\anaconda3\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "qcourse.py", line 80, in download_selected_chapter
urls = get_download_urls(term_id, file_id, cid=cid)
File "D:\workspace\腾讯课堂下载器\qcourse_scripts\utils.py", line 345, in get_download_urls
video_info = get_video_info(
File "D:\workspace\腾讯课堂下载器\qcourse_scripts\utils.py", line 258, in get_video_info
response = requests.get(url, params=params, cookies=load_json_cookies(), proxies=PROXIES).json()
File "D:\workspace\腾讯课堂下载器\qcourse_scripts\qcourse-venv\lib\site-packages\requests\models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "D:\software\anaconda3\lib\json_init_.py", line 357, in loads
return _default_decoder.decode(s)
File "D:\software\anaconda3\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\software\anaconda3\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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant