From 6f5e732bc8149ead3da4d408b097280c599f770f Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 12 Sep 2025 19:49:34 +0200 Subject: [PATCH] debug: print pdf text --- src/parser/colles/upcoming.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser/colles/upcoming.rs b/src/parser/colles/upcoming.rs index 5652034..7a8d22d 100644 --- a/src/parser/colles/upcoming.rs +++ b/src/parser/colles/upcoming.rs @@ -166,6 +166,7 @@ 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") {