mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-03 18:24:10 +02:00
handle empty player name
This commit is contained in:
parent
b784854c1d
commit
abd11dbe45
6 changed files with 6781 additions and 11 deletions
18
tests/snapshots/snapshot__parse_player_empty_html.snap
Normal file
18
tests/snapshots/snapshot__parse_player_empty_html.snap
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: tests/snapshot.rs
|
||||
expression: parsed
|
||||
---
|
||||
{
|
||||
"name": "",
|
||||
"avatar": "",
|
||||
"steam_id": "76561197967332647",
|
||||
"honors": [
|
||||
{
|
||||
"format": "TF2 Highlander",
|
||||
"season": "Season 6 NA Steel",
|
||||
"team": "Penguin Doom Squad"
|
||||
}
|
||||
],
|
||||
"teams": [],
|
||||
"favorite_classes": []
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue