Giter Site home page Giter Site logo

imooc-video-download's Introduction

imooc-video-download

该项目已经年久失修了~

如果你有兴趣,可以 fork 之后尝试修复~

使用 :

基于 Node.js 写的爬虫, 可以批量下载慕课网上的视频

  • 因为基于 Node.js, 所以使用前确保已经安装好 Node.js 环境
  • 这个爬虫用了 superagent 和 cheerio 这两个模块, 已经加入到项目中
  • 使用前先在源码里面修改 储存路径 和 自己的 cookies

直接终端输入

node app id  // id 就是课程id

例如: http://www.imooc.com/view/442 id 就是 442

imooc-video-download's People

Contributors

laizhenwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

imooc-video-download's Issues

视频名称空格问题

不知道是慕课网网站变了还是怎样,获取到的filename有很多空格,会报错,我加上了一句去掉空格的js。
filename=filename.replace(/\s/g, "")。

还能用吗

现在慕课视频的地址是不是换了
不能用了

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.