Skip to content

Conversation

@xantror
Copy link
Contributor

@xantror xantror commented Dec 16, 2025

This PR adds endowment field parsing and unit conversion for performer height/weight into AlgoliaAPI.

I'm not sure if some sites that use this already have metric values for height/weight or if endowment is limited to penis_size or if it is used differently for females so additional input is welcome.

I tried spot checking with some of the scrapers that used this but all the performers I tried to test had no weight/height/endowment values - needs additional testing.

The only site i managed to test is chaosmen.com where it functions as expected.

@nrg101
Copy link
Contributor

nrg101 commented Dec 16, 2025

Having looked at this more, I don't think you need the separate function and could attempt to get the endowment attribute in the same way that ethnicity is attempted, and then assign performer["penis_length"] with the feet_to_cm converted value, i.e. just two lines.

You shouldn't have to include the gender in the condition either, and can assume that any actor with an endowment attribute populated is referring to their penis length. I can't think what else endowment would be measuring.

@xantror xantror force-pushed the xantror/algoliaapi-enhancements branch from adee31a to 50599d9 Compare December 19, 2025 00:42
@xantror
Copy link
Contributor Author

xantror commented Dec 19, 2025

Updated and rebased

@xantror xantror requested a review from nrg101 December 19, 2025 00:46
Copy link
Contributor

@nrg101 nrg101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good, but can you provide one or two examples so I can test each conversion taking place?

@xantror
Copy link
Contributor Author

xantror commented Dec 19, 2025

The code looks good, but can you provide one or two examples so I can test each conversion taking place?

  1. https://www.chaosmen.com/en/pornstar/view/Blake/93119
                     "attributes": {
                         "eye_color": "",
                         "hair_color": "",
                         "body_type": "",
                         "ethnicity": "",
                         "alternate_names": "",
                         "best_know_for": "",
                         "weight": "185.00",
                         "height": "6'5\"",
                         "endowment": "8\"",
                         "home": "",
                         "exclusive": "",
                         "centerfold_date": ""
                     }
  2. https://www.maskurbate.com/en/pornstar/view/Brad/33779
                     "attributes": {
                         "eye_color": "Blue",
                         "hair_color": "Blonde",
                         "body_type": "",
                         "ethnicity": "",
                         "alternate_names": "",
                         "best_know_for": "",
                         "weight": "0.00",
                         "height": "5'11\"",
                         "endowment": "8\"",
                         "home": "",
                         "exclusive": "",
                         "centerfold_date": ""
                     }
  3. https://www.girlcore.com/en/pornstar/view/Abigail-Mac/34517
                     "attributes": {
                         "eye_color": "",
                         "hair_color": "Brown",
                         "body_type": "",
                         "ethnicity": "",
                         "alternate_names": "Abi",
                         "best_know_for": "",
                         "weight": "107.00",
                         "height": "5'2\"",
                         "endowment": "",
                         "home": "",
                         "exclusive": "",
                         "centerfold_date": ""
                     }

@xantror xantror requested a review from nrg101 December 23, 2025 02:24
@xantror xantror marked this pull request as draft December 24, 2025 13:09
@xantror xantror force-pushed the xantror/algoliaapi-enhancements branch 2 times, most recently from cf29e25 to b98a099 Compare December 27, 2025 10:36
@xantror
Copy link
Contributor Author

xantror commented Dec 27, 2025

Merge after #2627

@xantror xantror marked this pull request as ready for review December 27, 2025 10:37
@feederbox826 feederbox826 force-pushed the xantror/algoliaapi-enhancements branch from 4deb5fa to b98a099 Compare December 27, 2025 15:35
@feederbox826
Copy link
Collaborator

Thanks!

@feederbox826 feederbox826 merged commit b45a3ef into stashapp:master Dec 27, 2025
2 checks passed
@xantror xantror deleted the xantror/algoliaapi-enhancements branch December 27, 2025 22:22
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.

3 participants