Download videos from urls that stored on mongodb.You can store data to mongodb by xiyouMc's WebHubBot. And then download video by this project.
- make sure that mongodb is running.
- clone this project.
- go to the directory on the terminal.
- run
nmp install
- run
npm start
- waiting and then enjoy!(videos will be downloaded on the
downloads/
folder)
note: This is a node.js project, so you have to install node.js� on your operating system before you run above commands.
You can edit src/config.js
to change settings.
NUM
: how many videos do you want to download? defaults to 100.
DOWNLOAD_DIR
: the folder to save videos. defaults to 'downloads/'.
- the speed depends on your network.
- chinese people maybe need to setup a VPN network.