We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9f8ba9 commit 5006e28Copy full SHA for 5006e28
src/datasets/as2org.rs
@@ -460,7 +460,7 @@ impl As2org {
460
}
461
462
pub fn get_most_recent_data() -> Result<String> {
463
- let data_link: Regex = Regex::new(r".*(........\.as-org2info\.jsonl\.gz).*")
+ let data_link: Regex = Regex::new(r".*(\d{8}\.as-org2info\.jsonl\.gz).*")
464
.map_err(|e| anyhow!("Failed to create regex: {}", e))?;
465
let content = ureq::get("https://publicdata.caida.org/datasets/as-organizations/")
466
.call()
0 commit comments