"""
crawler_core — 招聘爬虫共享核心包

安装方式: pip install -e ./crawler_core
使用方式: from crawler_core import BaseFetcher, BaseSearcher, Result, HTTPClient
"""

try:
    from crawler_core.base import Result, BaseFetcher, BaseSearcher, parse_response
    from crawler_core.http_client import HTTPClient

    __all__ = [
        "Result",
        "BaseFetcher",
        "BaseSearcher",
        "HTTPClient",
        "parse_response",
    ]
except ImportError:
    # Optional heavy deps (requests_go, tenacity) may not be installed in
    # lightweight test environments. Sign-algorithm sub-packages remain importable.
    __all__ = []

__version__ = "0.1.0"
