Skip to content

t2krew/imoocDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 20, 2017
0c00dda · Jul 20, 2017

History

85 Commits
Jul 20, 2017
May 8, 2017
Jan 21, 2016
May 8, 2017
Sep 21, 2016
Jul 20, 2017
Sep 21, 2016
May 26, 2017
May 8, 2017
May 8, 2017
Jul 20, 2017
May 8, 2017

Repository files navigation

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