feat: add scraper service with URL simplification, Playwright integration, and retry logic for web scraping.

This commit is contained in:
Michael committed 2025-11-23 22:18:11 +01:00
1 parent 3eb78101a3
commit 38af998a09
1 file changed
+4 -1
+4 -1
View File
@@ -452,4 +452,7 @@ class ScraperService:
finally:
# Si on a créé un manager playwright local, on l'arrête
if playwright_manager:
await playwright_manager.stop()
try:
await playwright_manager.__aexit__(None, None, None)
except Exception as e:
logger.debug(f"Error stopping playwright manager: {e}")