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
{{ message }}
This repository has been archived by the owner on Jan 9, 2022. It is now read-only.
File "mooc.py", line 87, in
main()
File "mooc.py", line 62, in main
icourse163.start(args.url, config)
File "L:\course-crawler-master\mooc\icourse163.py", line 175, in start
get_resource(term_id)
File "L:\course-crawler-master\mooc\icourse163.py", line 106, in get_resource
outline.write(lesson[1], counter, 1)
File "L:\course-crawler-master\mooc\utils.py", line 191, in write
print('%s%s%s' % (' ' * level, Outline.res_type[sign], string))
UnicodeEncodeError: 'gbk' codec can't encode character '\u2022' in position 9: illegal multibyte sequence
下载课程大纲时出现编码错误
网站:中国大学MOOC
课程地址:https://www.icourse163.org/course/ZJU-93001?tid=1003013004
问题描述:
我临时在utils.py的191行插入了:
问题暂时解决了
The text was updated successfully, but these errors were encountered: