🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
fix(checkpoint): correct error message
Karim shoairb19fa5e694de
diff --git a/scrapling/spiders/checkpoint.py b/scrapling/spiders/checkpoint.pyindex aa84432..25de362 100644--- a/scrapling/spiders/checkpoint.py+++ b/scrapling/spiders/checkpoint.py@@ -32,8 +32,8 @@ class CheckpointManager:if not isinstance(interval, (int, float)):raise TypeError("Checkpoints interval must be integer or float.")else:- if interval <= 0:- raise ValueError("Checkpoints interval must be greater than 0.")+ if interval < 0:+ raise ValueError("Checkpoints interval must be equal or greater than 0.")async def has_checkpoint(self) -> bool:"""Check if a checkpoint exists."""