refactor: updating top level shortcuts

This commit is contained in:
Karim shoair
2025-06-22 02:11:26 +03:00
parent 8a272cf19b
commit b77c5b7abf
+3 -3
View File
@@ -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"]