1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-07 16:15:32 +02:00

remove dbg code

This commit is contained in:
Jan Lukas Gernert 2022-10-06 21:13:29 +02:00
parent c1ae011fcd
commit 0e3553b647

View file

@ -10,12 +10,7 @@ async fn phoronix() {
.unwrap();
let grabber = ArticleScraper::new(None).await;
let start = chrono::Utc::now();
let article = grabber.parse(&url, false, &Client::new()).await.unwrap();
let end = chrono::Utc::now();
let duration = end - start;
println!("duration: {}ms", duration.num_milliseconds());
article.save_html(&out_path).unwrap();
assert_eq!(