Code Monkey home page Code Monkey logo

pornhub-downloader's Introduction

pornhub-downloader

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!

statement

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

Screenshots

running

files

Features

  • 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

Requirement

  • Node.js 7.6.0+.

  • Your network can access to pornhub.com.

Usage

  • clone this repo.

  • install node modules:

npm install

default

  • run
npm start

custom

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

const urls = [
  'https://www.pornhub.com/view_video.php?viewkey=ph5844dbb3a1456'
];

Add your URLs as array.

And then run:

npm run url

Configuration

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

proxyUrl: set up the proxy with port. For example: http://127.0.0.1:1087. 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 https://www.pornhub.com/user/xxx/favorite, then you can set pathname as /user/xxx/favorite.

Download speed

The speed depends on your local network or proxy.

LICENSE

MIT

pornhub-downloader's People

Contributors

blackmatch avatar yashrajbharti avatar

Watchers

 avatar

Forkers

phonggcs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.