Skip to content

Commit

Permalink
remove extra text
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Feb 2, 2025
1 parent 7c628ec commit 8ed86d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/custom_alerts/metrolink_alerts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ pub async fn fetch_alert_page_data(
"",
)
.replace(REMOVE_DELUSION, "")
.replace(REMOVE_YAP, "");
.replace(REMOVE_YAP, "")
.replace("METROLINK ALERTS DETAIL\n", "")
.trim()
.to_string();

let start_date_selector = scraper::Selector::parse(".alertsDetail__date--start").unwrap();
//pick first optionally
Expand Down

0 comments on commit 8ed86d6

Please sign in to comment.