imoocDownloader icon indicating copy to clipboard operation
imoocDownloader copied to clipboard

慕课网视频下载器

imoocDownloader

Build Status

由于慕课网现在的视频播放机制已经跟写项目时有所改变,所以部分视频会无法下载,该项目也不再维护

简介

imoocDownloader 用来爬取慕课网课程视频

安装

git clone https://github.com/webbought/imoocDownloader.git

cd imoocDownloader 

npm install

Usage

'use strict'

module.exports = {
    videoDir : './video',
    targets : [552,556,21,441,11]
}
配置好config文件,执行 node index.js即可。

指令模式

node index.js <command> <arguments>

Options:

-h, --help          output usage information
-V, --version       output the version number
-s, --search <n>    Search course specified by keywords
-l, --list <n>      Show the Chapters and Lessons by course Id
-d, --download <n>  Download the Course By course Id

example

node index.js --search mongodb

search

node index.js --list 578

list

node index.js --download 578

or

node index.js --download 75,578

download

课程目录

course

章节目录

chapter

视频目录

video