refactor: huge change, many features/class got a better naming

- `Adaptor` became `Selector`
- `Adaptors` became `Selectors`
- `auto_match` argument/feature became `adaptive`
- `adaptor_arguments` argument became `selector_config`
- `automatch_domain` argument became `adaptive_domain`
- `additional_arguments` argument became `additional_args`
- `storage_adaptors` file became just `storage`
This commit is contained in:
Karim shoair
2025-07-29 04:20:23 +03:00
parent 0c649987f8
commit 264ae02aa7
22 changed files with 250 additions and 260 deletions
+5 -5
View File
@@ -10,12 +10,12 @@ def __getattr__(name):
from scrapling.fetchers import Fetcher as cls
return cls
elif name == "Adaptor":
from scrapling.parser import Adaptor as cls
elif name == "Selector":
from scrapling.parser import Selector as cls
return cls
elif name == "Adaptors":
from scrapling.parser import Adaptors as cls
elif name == "Selectors":
from scrapling.parser import Selectors as cls
return cls
elif name == "AttributesHandler":
@@ -46,4 +46,4 @@ def __getattr__(name):
raise AttributeError(f"module 'scrapling' has no attribute '{name}'")
__all__ = ["Adaptor", "Fetcher", "AsyncFetcher", "StealthyFetcher", "DynamicFetcher"]
__all__ = ["Selector", "Fetcher", "AsyncFetcher", "StealthyFetcher", "DynamicFetcher"]