Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SmutPuppet scraper update #2060

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

SpecialKeta
Copy link
Contributor

Scraper type(s)

  • sceneByURL

scene url
scene url

Short description

Updated Smut Puppet scraper

  • Added sub-sites that were missing.
    Removed smutpuppet.com/update from the urls, it always re-directs to porngutter.com/tour, no matter what.
  • Grab studio name by searching for scene at networksite porngutter.com, found out it's the most reliable way.
    For example, https://dothewife.com/update/81/ or https://smutmerchants.com/update/81/ both give you the same scene, but different studio when you scrape it. The search always gives you the correct studio.
  • Grab date for scene from networksite porngutter.com. Not all subsites have a date for their scenes.
    For example, this scene https://smutmerchants.com/update/1487/ from Smut Merchants, doesn't have a date, but https://porngutter.com/update/1487/ does.
  • Moved Jeff's Models to it's own sub scraper. Their scenes are not listed on porngutter.com, so studio name & scene date lookup wouldn't work.
  • Fixed code & url sanitizer for older scenes with just 2 digits in the url
  • Fixed image scraping.
  • Removed sceneByFragment block. The sceneByFragment should be used to manipulate the title/filename so it can find the scene from the query url, or pass it onto a script, but here it did nothing of that.

@Maista6969
Copy link
Collaborator

Solid job, thanks for fixing this!

@Maista6969 Maista6969 merged commit 6bc2a95 into stashapp:master Oct 15, 2024
1 check passed
@SpecialKeta SpecialKeta deleted the smutpuppet_update branch October 15, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants