Mise à jour API, scraper CIR et tests
Build & Deploy / build (push) Successful in 17s

This commit is contained in:
Mouigni
2026-08-16 17:13:43 +02:00
parent f8c8e16e7e
commit 742469b032
3 changed files with 195 additions and 132 deletions
-1
View File
@@ -107,7 +107,6 @@ Document text (first 3 pages):
raw = response["message"]["content"].strip()
raw = re.sub(r"```json|```", "", raw).strip()
# Extrait le JSON même s'il y a du texte autour
match = re.search(r"\{.*\}", raw, re.DOTALL)
if match:
raw = match.group(0)