知乎提取器:从 Playwright 迁移到 DrissionPage 方案

- 使用 DrissionPage 替代 Playwright
- 实现 Cookie 管理和反爬绕过
- 支持回答/文章/问题三种内容类型
- 灵活配置(文件/环境变量/配置文件)
- 更新文档和配置文件
This commit is contained in:
OpenClaw Agent
2026-02-08 05:56:27 +08:00
parent aa206a1679
commit a69225ff2b
8 changed files with 665 additions and 79 deletions
+4 -3
View File
@@ -26,10 +26,11 @@ sources:
zhihu:
enabled: true
use_playwright: true
cookie_file: ""
use_drissionpage: true
cookie_file: ~/.obsidian-kb/zhihu_cookies.json
cookie_str: "" # 可选:直接在配置中填入
timeout: 30
max_retries: 2
headless: true
chunking:
enabled: true