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

refactor: make auto_match disabled by default

Karim shoair811cd2d9b009
diff --git a/scrapling/engines/toolbelt/custom.py b/scrapling/engines/toolbelt/custom.py
index 90c6861..eb01345 100644
--- a/scrapling/engines/toolbelt/custom.py
+++ b/scrapling/engines/toolbelt/custom.py
@@ -107,7 +107,7 @@ class Response(Adaptor):
class BaseFetcher:
__slots__ = ()
huge_tree: bool = True
- auto_match: Optional[bool] = True
+ auto_match: Optional[bool] = False
storage: Any = SQLiteStorageSystem
keep_cdata: Optional[bool] = False
storage_args: Optional[Dict] = None
diff --git a/scrapling/parser.py b/scrapling/parser.py
index 98e0864..b3967ec 100644
--- a/scrapling/parser.py
+++ b/scrapling/parser.py
@@ -39,7 +39,7 @@ class Adaptor(SelectorsGeneration):
root: Optional[html.HtmlElement] = None,
keep_comments: Optional[bool] = False,
keep_cdata: Optional[bool] = False,
- auto_match: Optional[bool] = True,
+ auto_match: Optional[bool] = False,
storage: Any = SQLiteStorageSystem,
storage_args: Optional[Dict] = None,
**kwargs