Skip to content
This repository has been archived by the owner on Jan 9, 2022. It is now read-only.

中国大学MOOC下载报错 #43

Open
wangkun321 opened this issue Jun 26, 2020 · 1 comment
Open

中国大学MOOC下载报错 #43

wangkun321 opened this issue Jun 26, 2020 · 1 comment

Comments

@wangkun321
Copy link

Traceback (most recent call last):
File "D:\工作\MOOC\course-crawler-master\mooc.py", line 87, in
main()
File "D:\工作\MOOC\course-crawler-master\mooc.py", line 62, in main
icourse163.start(args.url, config)
File "D:\工作\MOOC\course-crawler-master\mooc\icourse163.py", line 175, in start
get_resource(term_id)
File "D:\工作\MOOC\course-crawler-master\mooc\icourse163.py", line 151, in get_resource
parse_res_list(video_list, rename, parse_resource, playlist.write)
File "D:\工作\MOOC\course-crawler-master\mooc\utils.py", line 337, in parse_res_list
res.operation(*operator)
File "D:\工作\MOOC\course-crawler-master\mooc\utils.py", line 56, in operation
func(self)
File "D:\工作\MOOC\course-crawler-master\mooc\icourse163.py", line 48, in parse_resource
res_print(file_name + ext)
UnboundLocalError: local variable 'ext' referenced before assignment

网站:中国大学MOOC

课程地址:(请在这里填写课程地址)

问题描述:(请在这里填写问题描述)

@StephanoGeorge
Copy link

#37

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

No branches or pull requests

2 participants