Skip to content

🕷️ 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

fix: replace bare raise with return False in _restore_from_checkpoint

haosenwang1018a31763afdeae
diff --git a/scrapling/spiders/engine.py b/scrapling/spiders/engine.py
index 416911d..d77f838 100644
--- a/scrapling/spiders/engine.py
+++ b/scrapling/spiders/engine.py
@@ -205,7 +205,7 @@ class CrawlerEngine:
Returns True if successfully restored, False otherwise.
"""
if not self._checkpoint_system_enabled:
- raise
+ return False
data = await self._checkpoint_manager.load()
if data is None: