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

Update GayAdultEmpire.yml #2102

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

MortonBridges
Copy link
Collaborator

Changed sceneByUrl studio selector to account for scenes that have more than one studio label attribute. Addressing #2099.

Scraper type(s)

  • sceneByURL

Examples to test

Example of a link having the issue before this change:
https://www.gaydvdempire.com/clip/836894/scene-1-streaming-scene.html

Example of a link that had only one studio label to verify these scenes are not affected by change:
https://www.gaydvdempire.com/clip/1698707/angel-elias-riding-marco-alessandro-streaming-scene.html

Short description

Studio selector for sceneByURL was looking for a specific tag. Most scenes would scrape file, while some would be in the format of "from MOVIE by STUDIO" where both "MOVIE" and "STUDIO" would have the tag used in the selector. Before the change we were matching only on the first tag found. The change will chain all values of the tag and select the last one in the list, on the assumption that the final tag will be the studio.

Changed sceneByUrl studio selector to account for scenes that have more than one studio label attribute.
@feederbox826
Copy link
Collaborator

LGTM

@feederbox826 feederbox826 merged commit 3a5e2f5 into stashapp:master Nov 12, 2024
1 check passed
@MortonBridges MortonBridges deleted the GayAdultEmpireUpdate branch November 12, 2024 21:33
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.

GayAdultEmpire - Scraping incorrect data from individual scenes
2 participants