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: updating top level shortcuts

Karim shoairb77c5b7abf79
diff --git a/scrapling/__init__.py b/scrapling/__init__.py
index 5bcfd47..c6a52c8 100644
--- a/scrapling/__init__.py
+++ b/scrapling/__init__.py
@@ -34,8 +34,8 @@ def __getattr__(name):
from scrapling.fetchers import StealthyFetcher as cls
return cls
- elif name == "PlayWrightFetcher":
- from scrapling.fetchers import PlayWrightFetcher as cls
+ elif name == "DynamicFetcher":
+ from scrapling.fetchers import DynamicFetcher as cls
return cls
elif name == "CustomFetcher":
@@ -46,4 +46,4 @@ def __getattr__(name):
raise AttributeError(f"module 'scrapling' has no attribute '{name}'")
-__all__ = ["Adaptor", "Fetcher", "AsyncFetcher", "StealthyFetcher", "PlayWrightFetcher"]
+__all__ = ["Adaptor", "Fetcher", "AsyncFetcher", "StealthyFetcher", "DynamicFetcher"]