diff --git a/source/main.rs b/source/main.rs index fa7c1b7..65a29ad 100644 --- a/source/main.rs +++ b/source/main.rs @@ -72,7 +72,13 @@ fn main() -> Result<()> { for potential_feed in potential_feeds { let response = ureq_agent.get(&potential_feed.url).call()?; if response.content_type() == "text/xml" { - feeds_to_output.push(potential_feed); + let body = response.into_string()?; + let title_start = body.find("