| Summary | Normalises, deduplicates, and sorts performer URLs. | |
| Repository | https://github.com/thismanyboyfriends2/stash-plugins/tree/main/plugins/performer-url-cleanup | |
| Source URL | https://thismanyboyfriends2.github.io/stash-plugins/main/index.yml | |
| Install | How to install a plugin? |
Performer URL Cleanup
Normalises, deduplicates, and sorts performer URLs with site-specific rules.
What it does
Cleans up performer URL fields by:
- Normalising URLs - Applies site-specific rules for consistent formatting
- Deduplicating - Removes duplicate URLs (prefers mixed-case versions from scrapers)
- Sorting - Orders URLs alphabetically by domain
Site-specific rules
| Rule | Sites |
|---|---|
Remove www. prefix |
x.com, twitter.com, onlyfans.com, fansly.com, xhamster.com |
Add www. prefix |
instagram.com, pornhub.com, xvideos.com |
| Domain aliases | twitter.com โ x.com |
| Lowercase paths | onlyfans.com, instagram.com |
| HTTP only (no HTTPS) | bustybuffy.com |
| Keep trailing slash | adultfilmdatabase.com |
Additional transformations handle path normalisation (e.g., removing /posts suffix from Fansly URLs).
Tasks
- Preview URL Cleanup - Shows what changes would be made without applying them
- Apply URL Cleanup - Applies all confirmed changes
Settings
- Write debug files - Outputs text files to the plugin directory for reviewing changes in detail:
debug_by_performer.txt- Changes grouped by performerdebug_by_domain.txt- Changes grouped by domaindebug_potential.txt- Potential changes for unknown domains (not applied)
Usage
- Run Preview URL Cleanup first to review proposed changes
- Check the logs or debug files to verify the changes look correct
- Run Apply URL Cleanup to apply the changes
Changes are only applied to URLs from known domains. Unknown domains appear in the โpotentialโ list for manual review.