diff --git a/src/providers/omgxxx.rs b/src/providers/omgxxx.rs index bdee888..61ccb4d 100644 --- a/src/providers/omgxxx.rs +++ b/src/providers/omgxxx.rs @@ -91,17 +91,17 @@ impl OmgxxxProvider { break; } let stars_div = text - .split("id=\"list_models_models_list_items\"") - .collect::>()[1] - .split("class=\"pagination\"") + .split("
") + .collect::>().last().unwrap() + .split("custom_list_models_models_list_pagination") .collect::>()[0]; for stars_element in stars_div.split(">()[1..].to_vec() { let star_url = stars_element.split("href=\"").collect::>()[1] .split("\"") .collect::>()[0]; let star_id = star_url.split("/").collect::>()[4].to_string(); - let star_name = stars_element.split("title=\"").collect::>()[1] - .split("\"") + let star_name = stars_element.split("").collect::>()[1] + .split("<") .collect::>()[0] .to_string(); Self::push_unique(