- 👋 Hi, I’m @abusizhishen
- 👀 I’m interested in ...
- 🌱 I’m currently learning ...
- 💞️ I’m looking to collaborate on ...
- 📫 How to reach me ...
abusizhishen / 51cto-video-download Goto Github PK
View Code? Open in Web Editor NEW用于将51cto上购买的课程视频下载至本地观看
用于将51cto上购买的课程视频下载至本地观看
AttributeError: 'Lesson' object has no attribute 'download'
详情
可以和我联系,一起探讨。
Traceback (most recent call last):
File "C:/51cto-video-download-master/run.py", line 34, in
fun(ss)
File "C:\51cto-video-download-master\Course.py", line 7, in run
lesson.Lesson(ss).set_course_id_by_course_list().lesson_list().download()
File "C:\51cto-video-download-master\cto\lesson.py", line 168, in download
tools.download(file_name, urls, func_decode)
File "C:\51cto-video-download-master\cto\tools.py", line 42, in download
data = func_decode(data)
File "C:\51cto-video-download-master\cto\lesson.py", line 166, in func_decode
return decory_video.Video().decory(play_key, str(lesson_id), video_data)
File "C:\51cto-video-download-master\cto\decory_video.py", line 18, in decory
cipher = AES.new(key, AES.MODE_ECB, iv)
File "C:\51cto-video-download-master\venv\lib\site-packages\Crypto\Cipher\AES.py", line 95, in new
return AESCipher(key, *args, **kwargs)
File "C:\51cto-video-download-master\venv\lib\site-packages\Crypto\Cipher\AES.py", line 59, in init
blockalgo.BlockAlgo.init(self, _AES, key, *args, **kwargs)
File "C:\51cto-video-download-master\venv\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
如题,目前买的不是微职位的课程,在网页看断断续续老卡,所以想下载下来看,不知您是否有时间帮忙支持一下。这里的课程https://edu.51cto.com/courselist/index.html
请选择: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
Wejob下载问题:
得到了Wejob的课程列表,但根据提示输入微职位ID(课程ID)后提示为找不到该课程。
请问大概是哪里的问题呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.