a102a75b28
- Add Pydantic models: AnswerData, ArticleData, ContentMetadata, AuthorInfo, CrawlResult - Create test fixtures in conftest.py with mock browser and sample API responses - Set up crawler module with __init__.py exports Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
337 B
Python
21 lines
337 B
Python
"""Zhihu Crawler Module
|
|
|
|
Provides content crawling capabilities for Zhihu using Playwright API interception.
|
|
"""
|
|
|
|
from .models import (
|
|
AuthorInfo,
|
|
ContentMetadata,
|
|
AnswerData,
|
|
ArticleData,
|
|
CrawlResult,
|
|
)
|
|
|
|
__all__ = [
|
|
"AuthorInfo",
|
|
"ContentMetadata",
|
|
"AnswerData",
|
|
"ArticleData",
|
|
"CrawlResult",
|
|
]
|