mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-03 18:24:10 +02:00
steam group on roster page
This commit is contained in:
parent
b96789bff4
commit
df91032de4
12 changed files with 993 additions and 960 deletions
|
|
@ -154,7 +154,10 @@ impl Parser for TeamParser {
|
|||
let steam_group = root
|
||||
.select(&self.selector_steam_group)
|
||||
.next()
|
||||
.and_then(|link| link.attr("href").map(String::from));
|
||||
.and_then(|link| {
|
||||
link.attr("href")
|
||||
.map(|group| group.replace("http://http", "http"))
|
||||
});
|
||||
|
||||
let division = select_text(root, &self.selector_team_division)
|
||||
.ok_or(ParseError::ElementNotFound {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue