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 Mar 20, 2019. It is now read-only.
Traceback (most recent call last):
File "G:\git\cn-mooc-dl\icourse163-dl.py", line 215, in <module>
main(course_url)
File "G:\git\cn-mooc-dl\icourse163-dl.py", line 11, in main
config = model.config("settings.conf", "icourse163")
File "G:\git\cn-mooc-dl\model\config.py", line 36, in load_config
config.read(config_file, encoding="utf-8-sig")
File "C:\Program Files\Python36\lib\configparser.py", line 697, in read
self._read(fp, filename)
File "C:\Program Files\Python36\lib\configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "C:\Program Files\Python36\lib\codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
File "C:\Program Files\Python36\lib\encodings\utf_8_sig.py", line 69, in _buff
er_decode
return codecs.utf_8_decode(input, errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xca in position 359: invali
d continuation byte
The text was updated successfully, but these errors were encountered:
如果保存settings.conf时用了gb2312,运行icourse163-dl时会提示:
The text was updated successfully, but these errors were encountered: