From 8db15e6ab8961cd73230e3c2bd376459cef45b01 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 8 Mar 2024 09:29:31 +0100 Subject: [PATCH] Footprint container uses article instead of div now --- src/scrapers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scrapers.rs b/src/scrapers.rs index 91f5fbe..72b7538 100644 --- a/src/scrapers.rs +++ b/src/scrapers.rs @@ -31,7 +31,7 @@ pub async fn feed_title(feed_url: &str) -> Result { } pub async fn fetch_footprints(feed_url: &str) -> Result, ScrapeError> { - let footprint_selector = Selector::parse("li.footprint div.footprint-container")?; + let footprint_selector = Selector::parse("li.footprint article.footprint-container")?; let footprint_title_selector = Selector::parse("div.title > h2.headline > a")?; let footprint_date_selector = Selector::parse("div.title > span.date > span.desc")?; let more_selector = Selector::parse("a#footprintListLoadMore")?;