33d06a7c76cc3693978d43ff08f24584c9805124
Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
PornHub-dl by tnt2402
PornHub-dl is a Python tool for downloading PornHub video/playlist.
Requirements
Python 3.7 or later
VPN or any anti - Deep Packet Inspection (if your ISP blocks Pornhub) ^-^
Installation
original: git clone https://github.com/tnt2402/pornhub_dl.git
current: git clone https://git.jdm17.ru/JDM170/pornhub_dl.git
cd pornhub_dl
python -m venv venv
"venv/scripts/activate.bat"
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
--file FILE File with links to download
# download single video from PornHub
pornhub_dl.py --url https://www.pornhub.com/view_video.php?viewkey=ph5b11c7f2ddecc
# download first 30 videos (default = best) from model CarryLight
pornhub_dl.py --url https://www.pornhub.com/model/carrylight --playlist --limit 30
# download all videos (most viewed) from model CarryLight
pornhub_dl.py --url https://www.pornhub.com/model/carrylight --playlist most-viewed
# download first 30 videos (most viewed) from model CarryLight
pornhub_dl.py --url https://www.pornhub.com/model/carrylight --playlist most-viewed --limit 30
# download video from file
pornhub_dl.py --file video_list.txt
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
Special thanks
- YouTube-DL (the world's most powerful tool) (source code)
- aria2c (a f*ckinn lightweight multi-source command-line download utility) (source code)
- PyFiglet (simple and beauty) (source code)
- @ValdikSS for his Deep Packet Inspection circumvention utility (source code)
- @mariosemes for his PornHub-downloader (source code)
from tnt2402 with <3
modified by JDM17 with <3
Languages
Python
100%