以中文查看
Download videos from xiyouMc's WebHubBot.
- get some data from xiyouMc's WebHubBot to your local mongodb.
- make sure that mongodb is running.
- clone this project.
- go to the directory on the terminal.
- run
npm 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/'.
TIMEOUT
: timeout value, defaults to 3 minutes.
- the speed depends on your network.
- chinese people maybe need to setup a VPN network.