mwra site redesign

This commit is contained in:
xenofem 2024-09-02 19:57:03 -04:00
parent f2dca8170d
commit 7941a6f7fc

View file

@ -13,7 +13,7 @@ use tokio_util::codec;
lazy_static! { lazy_static! {
static ref CHARTS_URL: Url = Url::parse("https://www.mwra.com/biobot/biobotdata.htm").unwrap(); static ref CHARTS_URL: Url = Url::parse("https://www.mwra.com/biobot/biobotdata.htm").unwrap();
static ref PDF_SEL: Selector = Selector::parse(r#"a[href$="-data.pdf"]"#).unwrap(); static ref PDF_SEL: Selector = Selector::parse(r#"a[href^="/media/file/mwradata"][href$="-data"]"#).unwrap();
static ref MIN_CHECK_INTERVAL: Duration = Duration::from_secs(300); static ref MIN_CHECK_INTERVAL: Duration = Duration::from_secs(300);
} }