stash icon indicating copy to clipboard operation
stash copied to clipboard

[Bug Report] XPath scraper is missing string array support

Open feederbox826 opened this issue 1 year ago • 0 comments

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 https://github.com/stashapp/stash/pull/4958 Blocking https://github.com/stashapp/CommunityScrapers/issues/2042

feederbox826 avatar Sep 24 '24 16:09 feederbox826