Download videos one by one from pornhub automatically.
- 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.
START_PAGE
: the star page number, defaults to 1.
PAGES
: how many pages do you want to download(20 videos/page)? defaults to 100.
SEARCH
: keyword of searching.
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.
search by keyword.- muti-tasks, download serveral videos async.