慕课网视频下载

点击连接

安装:

git clone https://github.com/webbought/imoocDownloader.git
cd imoocDownloader 
npm install

配置好config文件:
这里面的数字是视频网站后面的id, 例如: http://www.imooc.com/learn/24

'use strict'
module.exports = {
    videoDir : './video',
    targets : [552,556,21,441,11]
}

配置好后, 执行下面代码开始下载, 下载配置中数字中的全部:

node index.js

其他代码:

  node index.js --search mongodb

2970849-788fa54836417e98.jpg
image

显示某个id中的列表

 node index.js --list 578

2970849-ba1de6c33f686c84.jpg
image

也可以单独下载:

node index.js --download 578  或者 node index.js --download 75,578

2970849-f4849ba829f35e8d.jpg
image

作者:影子很淡的人
链接:https://www.jianshu.com/p/aed399eafd75
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

猜你喜欢

转载自blog.csdn.net/weixin_34013044/article/details/87431289