You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently a performer profile can only contain a single URL + Twitter + Instagram.
There is no other way to have clickable links in profile as well.
This is very inflexible and doesn't reflect performers online presence well.
Stash should be able to collect any links from scrappers.
Long Form
performers publish content on multiple sites;
there are multiple sites that maintain performers information;
there are multiple tube sites with performer profiles;
there are more than two social network sites;
performers may have one and more official sites.
Having specific fields in the database for each website would be a futile effort. Not being able to store some of them puts the limit on the usefulness of the performer profile.
Having a markdown or at least a limited markup in the description field would allow to circumvent the issue but would not allow to extract links information easily when needed (for example, in order to update information from scrapers).
Scrapers should be able to provide URLs array with any number of entries. Performer profile will accumulate unique urls.
Urls stored in performer profile should be available for scraping if corresponding scraper is available.
Backwards compatibility:
When legacy code provides URL, Twitter, Instagram fields - they can be added to URLs list if not existed there already.
When providing objects to legacy code - Twitter url, Instagram url and the first url can be extracted from the URLS list and set as legacy fields.
Hmm. Sad that solution seems incomplete (doesn't make it unified with existing fields - I don't want to manage "main" url, Twitter, Instagram - I want them to be automatically migrated into the new system). And I can't see whether it will work nice with scrapers.
Update: I now realized the PR was closed. I hope the final solution will be more elegant.
"Additional URLs" would be a very inelegant, causing complications down the line - harder merging of performer profiles (#1351) or scrapper results.
It will be easier to make all urls equal and provide backwards compatible endpoints where necessary than dealing with different types of urls.
URLs array for performers
Scope
Currently a performer profile can only contain a single URL + Twitter + Instagram.
There is no other way to have clickable links in profile as well.
This is very inflexible and doesn't reflect performers online presence well.
Stash should be able to collect any links from scrappers.
Long Form
Having specific fields in the database for each website would be a futile effort. Not being able to store some of them puts the limit on the usefulness of the performer profile.
Having a markdown or at least a limited markup in the description field would allow to circumvent the issue but would not allow to extract links information easily when needed (for example, in order to update information from scrapers).
Scrapers should be able to provide URLs array with any number of entries. Performer profile will accumulate unique urls.
Urls stored in performer profile should be available for scraping if corresponding scraper is available.
Backwards compatibility:
When legacy code provides URL, Twitter, Instagram fields - they can be added to URLs list if not existed there already.
When providing objects to legacy code - Twitter url, Instagram url and the first url can be extracted from the URLS list and set as legacy fields.
Examples
Some links for a single random performer:
Reference Reading
The text was updated successfully, but these errors were encountered: