以中文查看
Download videos from pornhub one by one automatically.
PS: As you see the picture above. It will skip empty file when downloading. And skip error, and then download next one. Also, you can setup timeout in a small value. Everything is for downloading more valid videos.
PS: You can watch the videos by simple "double click"! lol~~
- 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.
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/'.
TIMEOUT
: timeout value, defaults to 3 minutes.
- the speed depends on your network.
- chinese people maybe need to setup a VPN network.
search by keyword.- muti-tasks, download serveral videos async.
Someone may be interested in why I do this. My answer is: I love coding, I believe I can fetch download information from pornhub, and then download videos by the information. So I do it. It's just for fun about coding.
MIT