GithubHelp home page GithubHelp logo

classicvalues / pornhub-downloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mariosemes/pornhub-downloader

0.0 0.0 0.0 35 KB

Bash Script for downloading content from PornHub (the easy way)

License: Other

Shell 100.00%

pornhub-downloader's Introduction

PornHub Downloader v1.0.7 (deprecated)

This script is deprecated as we moved to the python version for a better experience.

Please visit the new repo: PornHub-downloader-python

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Hello everyone. This project was created for myself as a platform for learning bash. Hope its gonna help someone out :)

Feel free to join my discord server if you have any ideas, features or even bugs to talk about, you are welcome! JOIN DISCORD

If you feel like it, you can donate me a beer or two ;) Just for the troubles! DONATE BUTTON

(This script runs and its tested on Ubuntu 16.04 & 18.04)

Requirements

This script does not run without this tool:

  1. YouTube-DL (google it for installation)

Installation

$ wget https://github.com/mariosemes/PornHub-downloader/archive/master.zip
$ unzip master.zip
$ cd PornHub-downloader-master/
$ chmod +x install.sh
$ ./install.sh

(Please run this command as admin and dont forget to rename .your-user-name.:)
$ sudo ln -s /home/your-user-name/phdler/phdler.sh /usr/local/bin/phdler

(Edit the config file with your download location path.)
$ phdler config
$ phdler

How do I know the model/pornstar name or if its a model or a pornstar

Pritty simple, lets take a look at this url:

https://www.pornhub.com/model/themagicmuffin

  1. url: https://www.pornhub.com/
  2. category: model
  3. model name: themagicmuffin

https://www.pornhub.com/pornstar/leolulu

  1. url: https://www.pornhub.com/
  2. category: pornstar
  3. pornstar name: leolulu

Usage

Basic command line syntax:

$ phdler [start | refresh | custom | add | remove | clean | update | config | -h for help | -v for version] 

Examples:

Start download

$ phdler start

Download a custom URL from PornHub

$ phdler custom https://url

Adding a new PornHub model to the database

$ phdler add model-name-from-url

Downloading new added models/pornstars

$ phdler refresh

Warning

The default script "phdler start" uses the .txt files as a database and every time it runs, it will only download the latest 4 videos. So you dont spam PornHub and keep it calm :) This is the reason why you have options like "REFRESH" to download and add the new models/pornstars to the database.

Best Practice

phdler is designed to run as a cronjob. Just type this: $ crontab -e and then on the end of the file add this: * */12 * * * phdler start >/dev/null 2>&1 This will make the script run every 12 hours.

Permission problems or script not running with crontab

In case you are having permission problems, in crontab -e, just before the command add this line, and ofcourse, change your-user-name to your actuall user name. PATH=/home/your-user-name/bin:/home/your-user-name/.local/bin:/home/your-user-name/.npm-packages/bin:/usr/local/sbin:/usr/local/bin:/$/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

pornhub-downloader's People

Contributors

mariosemes avatar

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.