You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python qcourse.py
0. 下载单个视频
1. 下载课程指定章节
2. 下载课程全部视频
输入需要的功能:2
请输入课程cid:310478
Traceback (most recent call last):
File "D:\Downloads\qcourse_scripts\qcourse.py", line 140, in <module>
main()
File "D:\Downloads\qcourse_scripts\qcourse.py", line 121, in main
course_name = get_course_from_api(cid)
File "D:\Downloads\qcourse_scripts\utils.py", line 20, in get_course_from_api
name = response.get('result').get('course_detail').get('name').replace('/', '/').replace('\\', '\')
AttributeError: 'NoneType' object has no attribute 'get'
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: