Skip to content
Download videos from pornhub.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
imgs fix pieces download issue Mar 12, 2018
src fix broken video issue Mar 14, 2018
.eslintrc fix broken video issue Mar 14, 2018
.gitignore init commit May 30, 2017
LICENSE Initial commit May 30, 2017 Update Mar 4, 2019
package-lock.json sum: update node modules and readme May 8, 2018
package.json sum: update node modules and readme May 8, 2018


Important Notice: This project is aim to study Node.js, so I will not update this project

重要通知:本项目旨在学习Node.js,从今日(2018-09-09)起不再维护。(年轻虽好,切莫强撸灰飞烟灭 😄

Download highest quality videos from pornhub.

Version 2.x is coming now!


This repo is just for studying, not for other purpose.





  • Support proxy setting.

  • Always choose highest quality video to download(720P usually).

  • Support keyword searching.

  • Show progress bar and download speed.

  • Skip repeat file.

  • Download one by one until error occurs or fetch nothing.

  • Download with custom URLs or custom page.

  • split big file to pieces, avoid downloading incomplete file


  • Node.js 7.6.0+.

  • Your network can access to


  • clone this repo.

  • install node modules:

npm install


  • run
npm start


If you only want to download specific video(s), you can edit src/feature/urls.js like this:

const urls = [

Add your URLs as array.

And then run:

npm run url


You can config some params on src/config.json.

proxyUrl: set up the proxy with port. For example: If you don't need to set up proxy,just keep it empty string.

timeout: set up request timeout.

search: the keyword for searching.

barWidth: the progress bar width, should be between 20 to 120, set up 60 by default.

barFullChar: the 'finished char' for the progress bar.

barEmptyChar: the 'unfinished char' for the progress bar.

downloadDir: the directory you want to save videos.

pathname: the pathname of the page you want to do download, for example: you want to download files from this page, then you can set pathname as /user/xxx/favorite.

Download speed

The speed depends on your local network or proxy.



You can’t perform that action at this time.