feat(02-03): implement ZhihuAdapter for answer and zhuanlan content
- Implement ZhihuAdapter class inheriting PlatformAdapter - Support answer URL content extraction - Support zhuanlan (article) URL content extraction - Add cookie-based authentication from KBSettings - Detect login page redirects (expired cookies) - Return AuthError for missing/expired cookies - Format content with YAML frontmatter - Update package exports to include ZhihuAdapter Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,8 +12,10 @@ Each adapter implements the PlatformAdapter interface:
|
||||
|
||||
from .base import PlatformAdapter
|
||||
from .bilibili import BilibiliAdapter
|
||||
from .zhihu import ZhihuAdapter
|
||||
|
||||
__all__ = [
|
||||
"PlatformAdapter",
|
||||
"BilibiliAdapter",
|
||||
"ZhihuAdapter",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user