PornPics Importer

Update 2.4.1 Changelog

  • Added a fallback that reads performer names directly from the visible PornPics Models section, even when the model is not a normal performer link.
  • Matched or approved tags are now selected on all chosen photos by default.
  • Matched or approved performers are selected on all chosen photos by default.
  • You can still deselect individual tags or performers per photo.
  • Added a deselect all option to the per-tag and per-performer selection columns.

The update is available now to download. Head over to your stash and go to stash > settings > plugins > check for updates. Make sure to CTRL + F5.

Please have a look and let me know what you think! And if you have other ideas for this plugin, or a request for a different plugin, please let me know via DM!

bprpi

@Nonoty @zelpi

I’ve been at it for a few hours trying to fix it and after many tries I finally found the bug. While implementing the per-tag selection system there were a few systems wrongly implemented resulting in the 0 performers.

It should be fixed now! (from my testing)

But note: “Unknown” could still be visible next to a name because from the scraped names the plugin cannot determine the sex if that name does not exist in your stash.

And: It is correct that any performer made by the plugin (added) only has a name and no metadata or image. This is intended. It is up to you to scrape the metadata using your own methods! (I will think of a way to implement this, but it is not the focus of this plugin)

Sounds good thanks :+1: Did you also found the issue with the selection being wiped?

In anycase thanks a lot for your efforts, it’s a really nice plugin:)

Update 2.4.2 Changelog

  • Fixed selected images not saving when viewing a different set (issue by @Nonoty)

The update is available now to download. Head over to your stash and go to stash > settings > plugins > check for updates. Make sure to CTRL + F5.

Please have a look and let me know what you think! And if you have other ideas for this plugin, or a request for a different plugin, please let me know via DM!

bprpi

1 Like

Update 3.0 Changelog

  • Added a redesigned PornPics home with Now popular, Recommended for you, New on PornPics, Continue browsing and Popular tags sections.
  • Added full in-plugin directories for tags, performers and studios with search, Popular and A–Z sorting, and pagination.
  • Search results are now more visual and progressively load preview images for tags, performers and studios.
  • Recommendations are generated locally from galleries you browse; no external tracking is added.

This update is a bit experimental. If you encounter any issues please let me know!

The update is available now to download. Head over to your stash and go to stash > settings > plugins > check for updates. Make sure to CTRL + F5.

Please have a look and let me know what you think! And if you have other ideas for this plugin, or a request for a different plugin, please let me know via DM!

bprpi

Possible fix for age verification / incomplete galleries / 404 errors (VPN split tunneling)

I was running into some of the same issues others have mentioned here, including galleries only loading a handful of images (sometimes just 3–4), age verification problems, and 404 Client Error messages in the Stash logs.

The strange part was that opening those exact same galleries directly in my browser worked perfectly, with no age verification prompt and all images available.

I managed to resolve it by routing the Python executable Stash uses through my VPN.

I’m running Stash on Windows, and I use VPN split tunneling to route Firefox through my VPN while other applications use my normal connection. What I hadn’t considered was that the plugin makes its requests through Python, which was bypassing my VPN entirely.

Here’s what worked for me:

1. Find your Python executable path.

Open PowerShell and run:

py -c "import sys; print(sys.executable)"

If you have multiple Python installations, you can also check them with:

py -0p

2. Configure Stash to use that executable.

Go to Settings → System → Application Paths → Python Executable Path, enter the full path to python.exe, save, and restart Stash.

3. Add that same executable to your VPN’s split tunneling rules.

Configure your VPN to route that specific python.exe through the VPN rather than your normal connection.

4. Reload Stash and try the plugin again.

After doing this, galleries that previously only returned a few images started loading correctly.

A couple of interesting things I found while troubleshooting:

I tested the plugin’s scraper directly through Python against a gallery that was only returning 3 images.

The scraper successfully retrieved the page and reported Age gate: False, but the actual HTML contained only 3 image references. So the plugin wasn’t overlooking the remaining images; they simply weren’t being served to Python.

I also investigated the 404 errors for /plugin/stash-ppics/assets/cache/*.json and found that some of those files were being created shortly afterward. Those errors may just be related to the UI polling for results before they’re ready, rather than indicating a problem themselves.

My suspicion is that PornPics serves different gallery content depending on the requesting IP/location, sometimes without presenting an actual age verification page. That would also explain why the developer in the Netherlands might not be able to reproduce the issue.

@sashi @goldstarZV @bprpi — Tagging you guys since some of the symptoms you reported sounded similar to what I was experiencing. I’m not sure whether the underlying cause is the same, especially with the 404 errors, but this completely resolved the gallery restrictions on my end.

Hopefully this helps someone else! It might also be worth looking into how the plugin detects age-restricted galleries, since the scraper can apparently receive a partially restricted gallery without recognizing that anything is wrong.

Thanks for the great plugin! I had a suggestion: it would be very useful to be able to just directly set an image while browsing as Performer’s main image. Stashbox’s images for performers are obv limited so this would help alot.

Thank you for your in-depth analysis! I indeed think that’s the reason why I’m not seeing this popup. A VPN is actually a really good way to bypass it. I’ll add a note to the plugin’s description about it. Great job!

You mean like a profile image selection? (on a specific performer?)

yes exactly!
so if an image matches a performer in the database, with a button you can set their profile image

I’m working on it. Great idea!

1 Like

Update 3.1 Changelog

  • Added Search with PornPics Importer button next to Stash’s performer image control. (Requested by @allisless0 )
    – Browse performer photos in a dedicated popup with portrait-oriented images shown first.
    – Choose one photo and apply it directly as the Stash performer profile image.
    – The selected file is stored separately inside the plugin and is not imported as a Stash image, gallery or metadata item.

You can delete these images via the plugin settings or going to the stash plugins folder /path/to/stash/plugins/stash-ppics/assets/performer-profile-images

This update is a bit experimental, again. If you encounter any issues please let me know!

The update is available now to download. Head over to your stash and go to stash > settings > plugins > check for updates. Make sure to CTRL + F5.

Please have a look and let me know what you think! And if you have other ideas for this plugin, or a request for a different plugin, please let me know via DM!

bprpi