Files
pornhub_dl/README.md
2022-12-30 00:06:05 +07:00

1.6 KiB

PornHub-dl by tnt2402

PornHub-dl is a Python tool for downloading PornHub video/playlist.

Requirements

Python 3.7 or later
A VPN or you can use 1.1.1.1 WARP 

Installation

https://github.com/tnt2402/pornhub_dl.git
cd pornhub_dl
pip install -r requirements.txt
python ./pornhub_dl.py -h

Usage

usage: pornhub_dl.py [-h] [--url URL] [--playlist {most-viewed,best,top-rated,longest}] [--limit LIMIT] [--dir DIR]

optional arguments:
  -h, --help            show this help message and exit
  --url URL             URL of Pornhub video
  --playlist {most-viewed,best,top-rated,longest}
                        Optional ordering of videos (default = best)
  --limit LIMIT         Maximum number of videos
  --dir DIR             Output directory

# download single video from PornHub
pornhub_dl.py --url https://www.pornhub.com/view_video.php?viewkey=ph5b11c7f2ddecc
# download all videos (most viewed) from model CarryLight of PornHub
pornhub_dl.py --url https://www.pornhub.com/model/carrylight --playlist most-viewed
# download first 30 videos (most viewed) from model CarryLight of PornHub
pornhub_dl.py --url https://www.pornhub.com/model/carrylight --playlist most-viewed --limit 30

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Special thanks

YouTube-DL (the world's most powerful tool)

PyFiglet (simple and beauty)

@mariosemes for his PornHub-downloader (github.com/mariosemes/PornHub-downloader-python)

from tnt2402 with <3