TibiaData / tibiadata-api-go

TibiaData API written in Golang and deployed in container (version v3 and above).
https://api.tibiadata.com
MIT License
79 stars 26 forks source link

bug: character killer with summons not parsed correct #344

Open tobiasehlert opened 4 months ago

tobiasehlert commented 4 months ago

Character Lester Padrin Crushed at Level 416 by Hawker Dashzik, Atestado Di Obto, Dadau Rush, Nadica, Mindubina Lovers, Fogosz, Bino Pally Rox, Seborredelson, Miko Miner and knight familiar of Lekinho Destroyer.

Actual parsing:

{
  "name": "knight familiar of Lekinho Destroyer",
  "player": true,
  "traded": false,
  "summon": ""
}

Expected parsing:

{
  "name": "Lekinho Destroyer",
  "player": true,
  "traded": false,
  "summon": "knight familiar"
}

rel #341

tobiasehlert commented 4 months ago

Created bug-344-summon-killer-parser-issue branch with updated html-testdata and prepared the tests to align as it should be.