stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
9.38k stars 803 forks source link

[Feature] Youtube-dl/Pornhub integration #771

Open kvmfz opened 4 years ago

kvmfz commented 4 years ago

Is your feature request related to a problem? Please describe. When downloading pornhub videos with youtube-dl, the file name contains the video id at the end with an easy to detect pattern

Describe the solution you'd like Automatic parser to detect those ids and add "https://www.pornhub.com/view_video.php?viewkey=" with the parsed ID to the URL

Describe alternatives you've considered I was automating it with a system macro (simulate mouse/kb), if there's any other way im open to suggestions

Additional context Also if possible in those cases automatically use the scrapers to set all the data (or specific data for example only tags/thumbnail/name and ignore description) would be perfect when mass downloading

bnkai commented 4 years ago

I think with the url replace pr #878 and https://github.com/stashapp/CommunityScrapers/pull/272 this is partially covered. A scrape with is still needed so not fully automatic but good enough imo.