Skip to content

A small python application to help, us lazy mutts out there, to download videos from channels in bulk.

Notifications You must be signed in to change notification settings

azf99/pornhub-py-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pornhub python utility

A python based utility tool to do various activities on your favourite website. No more manual, tiring work requiring hours to get your favourite content. Now everything at the click of a button.

Setup

pip3 install -r requirements.txt

Make sure you also have your chromedriver executable in this folder.

Run

python main.py <pornhub-channel-url>

This will fetch a list of every single video on the channel

For additional features, do

>> python main.py -h

usage: main.py [-h] -u URL [-q QUALITY] [-s SAVE_PATH]

Pornhub downloader utility

optional arguments:
  -h, --help            show this help message and exit
  -u URL, --url URL     the URL of the channel
  -q QUALITY, --quality QUALITY
                        the video quality(240, 480, 720, etc.)
  -s SAVE_PATH, --save_path SAVE_PATH
                        the path to save the videos

How to download single video

Open a python shell from the cloned directory

from downloaders.downloadmanager import DownloadManager

man = DownloadManager(save_path = "<path-to-save-folder>")
man.download(link = "<video-link>", quality = "720")

Features

  • get links of all videos from a channel page
  • download videos directly from the link
  • option to select video download quality
  • support for concurrent file download to get faster download upto 8 times as that of a browser(if bandwidth is not a bottleneck)

TODO

  • Add multiple downloaders

About

A small python application to help, us lazy mutts out there, to download videos from channels in bulk.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages