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 4, 2021. It is now read-only.
改成chcp 936 ,开始乱码,输入课程id后出现如下错误:
Traceback (most recent call last):
File "run.py", line 34, in
fun(ss)
File "E:\51cto\Course.py", line 7, in run
lesson.Lesson(ss).set_course_id_by_course_list().lesson_list().download()
File "E:\51cto\cto\lesson.py", line 168, in download
tools.download(file_name, urls, func_decode)
File "E:\51cto\cto\tools.py", line 42, in download
data = func_decode(data)
File "E:\51cto\cto\lesson.py", line 166, in func_decode
return decory_video.Video().decory(play_key, str(lesson_id), video_data)
File "E:\51cto\cto\decory_video.py", line 18, in decory
cipher = AES.new(key, AES.MODE_ECB, iv)
File "D:\Python27\lib\site-packages\Crypto\Cipher\AES.py", line 95, in new
return AESCipher(key, *args, **kwargs)
File "D:\Python27\lib\site-packages\Crypto\Cipher\AES.py", line 59, in init
blockalgo.BlockAlgo.init(self, _AES, key, *args, **kwargs)
File "D:\Python27\lib\site-packages\Crypto\Cipher\blockalgo.py", line 141, in init
self._cipher = factory.new(key, *args, **kwargs)
ValueError: AES key must be either 16, 24, or 32 bytes long
请选择:2
以下是您购买的课程:
Traceback (most recent call last):
File "run.py", line 34, in
fun(ss)
File "E:\51cto\Course.py", line 7, in run
lesson.Lesson(ss).set_course_id_by_course_list().lesson_list().download()
File "E:\51cto\cto\lesson.py", line 190, in set_course_id_by_course_list
print "课程ID:%d, 课程名称:%s" % (course['id'], course['title'])
LookupError: unknown encoding: cp65001
The text was updated successfully, but these errors were encountered: