A Pornhub.com scraper addon for tinyMediaManager v4
Aka: tinyPornManager
This is a Pornhub.com scraper addon which can be loaded in tinyMediaManager(v4.x).
Settings -> Movies -> Scraper
, enable Pornhub scraper644d924a9ccc8 | #Double Tactical NUKE on Shoot House.. (Modern Warfare 2 Shoot House Gameplay).mp4
)Update source(s)
Search & scrape
There are two options, you can either download the jar from the latest release or build it from source.
scraper-addon-pornhub-xxx.jar
from Release Page
scraper-addon-pornhub-xxx.jar
to the subfolder addons
of the tinyMediaManager installationgit clone https://github.com/scoooooott/tinyPornManager.git
cd tinyPornManager/
mvn clean package
target/scraper-addon-pornhub-xxx.jar
to the subfolder addons
of the tinyMediaManager installationFor Pornhub.com, there are currently two UNIQUE IDENTIFIERS for videos
We need a rule to extract unique identifier from filename here is the regular expression in old version tpm:
^[P|p]h(\\S+)(?:\\s\\S.+)?
This expression can match the following cases:
├── ph1234abcd.mp4
├── ph1234abcd-Super Hot Lily Potter.mp4
└── ph1234abcd Super Hot Lily Potter.mp4
But, let's check out this url:
https://www.pornhub.com/view_video.php?viewkey=644d924a9ccc8
It seems that the generation rules of viewKey have changed. We need to always update the regular expression to match the new viewKey.
Fortunately, you can modify the regular expression
in Settings -> Movies -> Scraper -> Choose 'Pornhub' -> Scraper Options
.
This project is licensed under the MIT License - see the LICENSE file for details