Split deep crawling code into separate strategy files for better organization and maintainability. Added new BFF (Best First) and DFS crawling strategies. Introduced base strategy class and common types. BREAKING CHANGE: Deep crawling implementation has been split into multiple files. Import paths for deep crawling strategies have changed.
11 lines
318 B
Python
11 lines
318 B
Python
# deep_crawling/__init__.py
|
|
from .base_strategy import DeepCrawlDecorator, DeepCrawlStrategy
|
|
from .bfs_strategy import BFSDeepCrawlStrategy
|
|
from .bff_strategy import BestFirstCrawlingStrategy
|
|
|
|
__all__ = [
|
|
"DeepCrawlDecorator",
|
|
"DeepCrawlStrategy",
|
|
"BFSDeepCrawlStrategy",
|
|
"BestFirstCrawlingStrategy",
|
|
] |