Giter Site home page Giter Site logo

51cto-video-download's Introduction

  • 👋 Hi, I’m @abusizhishen
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...

51cto-video-download's People

Contributors

abusizhishen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

51cto-video-download's Issues

Wejob问题

Wejob下载问题:
得到了Wejob的课程列表,但根据提示输入微职位ID(课程ID)后提示为找不到该课程。
请问大概是哪里的问题呢

在选择课程的时候报错

请选择: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

选择课程下载就报错啦,是AES key长度的问题

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

下载报错

AttributeError: 'Lesson' object has no attribute 'download'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.