diff --git a/src/parser/colles/upcoming.rs b/src/parser/colles/upcoming.rs index 7a8d22d..a823490 100644 --- a/src/parser/colles/upcoming.rs +++ b/src/parser/colles/upcoming.rs @@ -166,12 +166,12 @@ pub async fn fetch(session: &str, last_hash: &str) -> (Vec, String) { // Extract text using pdf_extract let pdf_text = pdf_extract::extract_text(tmpfile.path()).expect("Failed to extract PDF text"); - println!("{}", pdf_text); + // Calculate the hash of the PDF file let hash = hash_text(&pdf_text); - if hash == last_hash || pdf_text.contains("Aucune colle") { - return (Vec::new(), hash); - } + // if hash == last_hash || pdf_text.contains("Aucune colle") { + // return (Vec::new(), hash); + // } // Split the text into lines and filter out empty lines let lines: Vec<&str> = pdf_text