Trying out model

This commit is contained in:
2025-05-30 20:46:25 +02:00
parent 4b0be3bd4e
commit 69ff62c4c0
21 changed files with 199 additions and 171 deletions

View File

@@ -1,3 +1,7 @@
quarkus:
http:
port: 8081
scraper:
sources:
- id: konami-official
@@ -25,20 +29,20 @@ scraper:
- "^https://yugioh\\.fandom\\.com/wiki/.*$"
selectors:
regional-set:
root: "h3:contains(Prefix(es)) + div > ul:nth-child(1) > li"
root:
type: css
value: "h3:contains(Prefix(es)) + div > ul:nth-child(1) > li"
id:
steps:
- type: "xpath"
- type: xpath
value: "//li/text()"
language:
steps:
- type: "xpath"
- type: xpath
value: "//li/abbr"
- type: "xpath"
- type: xpath
value: "//abbr/@title"
region-key:
steps:
- type: "xpath"
value: "//li/abbr/text()"
testing:
waaa: test
- type: xpath
value: "//li/abbr/text()"