mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-03 18:24:10 +02:00
add player favorite classes
This commit is contained in:
parent
259c2795fd
commit
1ffdc25582
6 changed files with 2605 additions and 2 deletions
|
|
@ -13,6 +13,14 @@ fn test_parse_player_html() {
|
|||
assert_json_snapshot!(parsed);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_parse_player_classes_html() {
|
||||
let body = read_to_string("tests/data/player_76561198049312442.html").unwrap();
|
||||
let parser = PlayerParser::new();
|
||||
let parsed = parser.parse(&body).unwrap();
|
||||
assert_json_snapshot!(parsed);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_parse_player_details_html() {
|
||||
let body = read_to_string("tests/data/player_details_76561198024494988.html").unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue