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

style: fixing a typo in logging

Karim shoair838b8b1196c4
diff --git a/scrapling/parser.py b/scrapling/parser.py
index 47d2b32..5440a84 100644
--- a/scrapling/parser.py
+++ b/scrapling/parser.py
@@ -766,7 +766,7 @@ class Adaptor(SelectorsGeneration):
self._storage.save(element, identifier)
else:
log.critical(
- "Can't use Auto-match features with disabled globally, you have to start a new class instance."
+ "Can't use Auto-match features while disabled globally, you have to start a new class instance."
)
def retrieve(self, identifier: str) -> Optional[Dict]:
@@ -780,7 +780,7 @@ class Adaptor(SelectorsGeneration):
return self._storage.retrieve(identifier)
log.critical(
- "Can't use Auto-match features with disabled globally, you have to start a new class instance."
+ "Can't use Auto-match features while disabled globally, you have to start a new class instance."
)
# Operations on text functions