mwra site redesign
This commit is contained in:
parent
f2dca8170d
commit
7941a6f7fc
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue