Coder Social home page Coder Social logo

mooc-download's Introduction

macOS+python36
慕课网付费课程下载,为了请求安全,单线程下载,同个视频ts片段不会重复下载,本地有就不再去下载

1.浏览器登录后,把付费课程html页面保存到album.html
2.把观看视频时的抓包的请求cookie以字典形式保存到cookie.txt
3.运行download.py 的main 方法即可下载该专辑

慕课网播放信息等文本用decrypt.js解密
视频用了aes加密,aes解密的iv是0000000000000000,key的获取地址在改视频m3u8文件中,获取key后再用decrypt.js解密就能得到key,
key解析ts,再用ffmpeg合并ts就能得到正常播放视频

mooc-download's People

Contributors

lim1942 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

arezl

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.