Giter Site home page Giter Site logo

mooc-dl's Introduction

mooc-dl

python 3.6.7

本程序提供一键下载**大学MOOC全课件功能,仅供学习使用,版权归**大学 MOOC 所有,不用于任何商业用途

主要作为 course-clawer/icourse163 备用接口(也许哪天电脑端的接口不那么好爬了嗯,真的不好爬了,不过移动端也……)

近期中 M 视频接口全面变更为 m3u8 了,所以可以说必须要下载、合并了,所以 course-crawler 暂时不支持中 M 视频下载,要下载视频先用这个备用的吧,但是这里并不会做像 course-crawler 那么结构化的下载方式

  • 暂未支持字幕
  • 断点恢复机制也没做好,没 merge 的可能最后也 merge 不了了

但上面的这些……暂时都不想做了……再说吧……

Usage

在运行之前请确保安装 Python3.5 及以上版本,并安装依赖

pip install -r requirements.txt

之后在 config.json 中对一些参数进行配置就可以使用啦(登录只支持爱课程账号,因为其他的做起来太复杂,如果嫌注册太麻烦,直接使用这里放的共享账号就好)

{
  "username": <icourse_user_name>,        // 你的爱课程账号
  "password": <icourse_password>,         // 你的爱课程账号密码
  "resolution": <resolution_level>,       // 清晰度等级,可选 0,1,2 清晰度递减
  "root": <root_dir>,                     // 下载目标路径
  "num_thread": <num_thread>              // 下载线程数
}

下载时,只需要以网址作为参数传入即可

python mooc-dl.py https://www.icourse163.org/course/ZJU-93001?tid=1003997005

Recommendation

Course Crawler(Forked from Foair/course-crawler) 支持更多的课程与资源类型~

mooc-dl's People

Contributors

siguremo avatar

Forkers

liuchaonuaa

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.