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 5409c3d commit 2393e9bCopy full SHA for 2393e9b
src/parser/html.rs
@@ -2,6 +2,7 @@ use super::{InputParser, InputParserError};
2
use crate::excel::{Cell, CellValue, WorkbookDto, WorksheetDto};
3
use scraper::{Html, Selector};
4
use std::{fs, path::PathBuf};
5
+use tracing::info;
6
7
pub struct HtmlParser;
8
@@ -11,6 +12,7 @@ impl HtmlParser {
11
12
}
13
14
fn parse_from_file(&self, filepath: PathBuf) -> Result<WorkbookDto, HtmlError> {
15
+ info!("Reading html");
16
let html = fs::read_to_string(filepath).map_err(HtmlError::FileNotFound)?;
17
18
let document = Html::parse_document(&html);
0 commit comments