fix for latest wiki frontend changes
This commit is contained in:
parent
edd049a839
commit
24e826cd85
|
@ -19,7 +19,7 @@ pub async fn scrape_web() -> StdError<Vec<(String, String)>> {
|
||||||
// Parse CSS selectors to scrape elements
|
// Parse CSS selectors to scrape elements
|
||||||
let gallerybox_sel =
|
let gallerybox_sel =
|
||||||
scraper::Selector::parse("li.gallerybox").map_err(|e| format!("{:?}", e))?;
|
scraper::Selector::parse("li.gallerybox").map_err(|e| format!("{:?}", e))?;
|
||||||
let link_sel = scraper::Selector::parse("a.image").map_err(|e| format!("{:?}", e))?;
|
let link_sel = scraper::Selector::parse("a.mw-file-description").map_err(|e| format!("{:?}", e))?;
|
||||||
let title_sel = scraper::Selector::parse(".gallerytext p").map_err(|e| format!("{:?}", e))?;
|
let title_sel = scraper::Selector::parse(".gallerytext p").map_err(|e| format!("{:?}", e))?;
|
||||||
|
|
||||||
// Fetch stuff!
|
// Fetch stuff!
|
||||||
|
|
Loading…
Reference in New Issue