diff --git a/src/query.rs b/src/query.rs index 60bb501..11f0dbc 100644 --- a/src/query.rs +++ b/src/query.rs @@ -1,10 +1,10 @@ use anyhow::{anyhow, Result}; -pub(crate) const SIEDLUNG: &str = +const URL_DEPARTURES: &str = "https://www.vvo-online.de/de/fahrplan/aktuelle-abfahrten-ankuenfte/abfahrten?stopid=33006765"; pub(crate) fn query_server() -> Result { - match ureq::get(SIEDLUNG).call() { + match ureq::get(URL_DEPARTURES).call() { Ok(response) => Ok(response.into_string().map_err(|e| anyhow!(e))?), Err(e) => Err(anyhow!(e)), }