forked from Anri/cal8tor
refactor
This commit is contained in:
parent
6e235aa67e
commit
a98184bada
1 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
||||||
use std::collections::HashMap;
|
|
||||||
|
|
||||||
use chrono::{DateTime, Duration, TimeZone, Utc};
|
use chrono::{DateTime, Duration, TimeZone, Utc};
|
||||||
use regex::{Captures, Regex};
|
use regex::{Captures, Regex};
|
||||||
use scraper::{Html, Selector};
|
use scraper::{Html, Selector};
|
||||||
|
use std::collections::HashMap;
|
||||||
|
|
||||||
pub async fn info() -> HashMap<usize, Vec<(DateTime<Utc>, DateTime<Utc>)>> {
|
pub async fn info() -> HashMap<usize, Vec<(DateTime<Utc>, DateTime<Utc>)>> {
|
||||||
let document = get_webpage().await.expect("Can't reach info website.");
|
let document = get_webpage().await.expect("Can't reach info website.");
|
||||||
|
|
Reference in a new issue