Other

项目介绍

mariosemes/PornHub-downloader 是一个托管在 GitHub 上的开源项目,主要使用 Shell 编写,采用 Other 许可证,目前获得 116 个 Star、11 次 Fork。

仓库全名
mariosemes/PornHub-downloader
开源许可证
Other
Star 数
116
Fork 数
11
未关闭 Issue
2

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

PornHub-downloader 用什么语言开发?

主要使用 Shell 编写,采用 Other 许可证,目前有 116 个 Star。

PornHub-downloader 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 PornHub-downloader 的源码?

可以直接克隆仓库:git clone https://github.com/mariosemes/PornHub-downloader.git;安装与运行步骤见仓库 README。

PornHub-downloader 最近还在维护吗?

仓库最近一次更新为 2022年2月23日,当前有 2 个未关闭 Issue;Star 数为 116,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

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

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

README

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

评论

暂无评论