Skip to content

Error parsing .span-player-stats #2

@neopkr

Description

@neopkr

In the realm/wrapper.ts file, we have a script that scrapes stats from RealmEye. However, sometimes it doesn't work as expected.

For example, when searching for the player ISmogono, the correct results should be:

[
	"5/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8"
]

Using Insomnia $.characters[*].stats for get all stats results
But the API returns the following:

[
	"5/8",
	"8/8",
	"8/8",
	"8/8",
	"7/8",
	"0/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8",
	"7/8",
	"0/8",
	"7/8",
	"8/8",
	"8/8",
	"8/8",
	"8/8"
]

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions