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: shortcuts for backward compatibility

Karim shoair9415acccce08
diff --git a/scrapling/parser.py b/scrapling/parser.py
index ff88de2..13f86fa 100644
--- a/scrapling/parser.py
+++ b/scrapling/parser.py
@@ -1383,3 +1383,8 @@ class Selectors(List[Selector]):
def __getstate__(self) -> Any:
# lxml don't like it :)
raise TypeError("Can't pickle Selectors object")
+
+
+# For backward compatibility
+Adaptor = Selector
+Adaptors = Selectors