PornHub-downloader 正在参加 2021 年度 OSC 中国开源项目评选,请投票支持!
PornHub-downloader 在 2021 年度 OSC 中国开源项目评选 中已获得 {{ projectVoteCount }} 票,请投票支持!
2021 年度 OSC 中国开源项目评选 正在火热进行中,快来投票支持你喜欢的开源项目!
2021 年度 OSC 中国开源项目评选 >>> 中场回顾
PornHub-downloader 获得 2021 年度 OSC 中国开源项目评选「最佳人气项目」 !
授权协议 View license
开发语言 Java
操作系统 跨平台
软件类型 开源软件
所属分类 应用工具下载工具
开源组织
地区 不详
投 递 者 首席测试
适用人群 未知
收录时间 2021-11-09

软件简介

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

展开阅读全文

代码

评论

点击引领话题📣 发布并加入讨论🔥
暂无内容
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
暂无内容
0 评论
0 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部