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

[Bug Report] XPath scraper is missing string array support #5294

Closed
feederbox826 opened this issue Sep 24, 2024 · 1 comment · Fixed by #5677
Closed

[Bug Report] XPath scraper is missing string array support #5294

feederbox826 opened this issue Sep 24, 2024 · 1 comment · Fixed by #5677
Labels
bug Something isn't working

Comments

@feederbox826
Copy link
Contributor

feederbox826 commented Sep 24, 2024

Describe the bug
XPath scrapers can't return URLs in array format

To Reproduce
Steps to reproduce the behavior:

scrapePerformerURL: input: scrapePerformerURL Internal system error. Error <reflect.Set: value of type string is not assignable to type []string>
reflect.Set: value of type string is not assignable to type []string
[3][URLs] = https://NSFW
[0][URLs] = https://NSFW
[2][URLs] = https://NSFW
[1][URLs] = https://NSFW
  • when using objarr
key 'URLs': selector '': parse error: expr expression is nil

Expected behavior
xPath selector is taken as an un-merged array or nested support like with Tags is possible

Stash Version: (from Settings -> About):
v0.27.0

Additional context
Related to #4958
Blocking stashapp/CommunityScrapers#2042

@DogmaDragon
Copy link
Collaborator

Reproduced on c45ae06.

@DogmaDragon DogmaDragon added bug Something isn't working and removed bug report Bug reports that are not yet verified labels Oct 27, 2024
@github-project-automation github-project-automation bot moved this from To triage to Done in Bug fixing Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants