Open
Conversation
…t Empire URLs to update tags and studio information. Includes main script, configuration files, and README documentation.
Contributor
Author
|
Group.Create.Post is a valid trigger. This validation rule appears to be out of date. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds GroupAutoScraper, an external (raw) plugin that automatically re-scrapes newly created groups when their first URL is an AdultDVD Empire link, then merges the scraped metadata back into the group.
What it does
Group.Create.Postonly (no update trigger).adultdvdempire.com/. Others log an info message and exit without changes.scrapeGroupURL(url), then builds aGroupUpdatepayload by merging scraped data with existing group data:scraped.studio.stored_idasstudio_idonly when not null; otherwise keeps existing studio or leaves unset.stored_id, de-duplicated.front_image/back_imageonly when the scrape returns them (avoids overwriting with null).stashapi.logand prints a short summary on success (e.g. added tag count, whether studio was set or could not be resolved).Files added
plugins/GroupAutoScraper/GroupAutoScraper.yml– plugin config and hookplugins/GroupAutoScraper/autoScraper.py– main script (stashapi + requests)plugins/GroupAutoScraper/manifest– plugin manifestplugins/GroupAutoScraper/README.md– install and behavior docsRequirements
stashapiandrequests(same as other CommunityScripts Python plugins)Testing