fix for latest wiki frontend changes

This commit is contained in:
Sam W 2023-07-18 14:59:59 +01:00
parent edd049a839
commit 24e826cd85
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ pub async fn scrape_web() -> StdError<Vec<(String, String)>> {
// Parse CSS selectors to scrape elements
let gallerybox_sel =
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))?;
// Fetch stuff!