知乎提取器:从 Playwright 迁移到 DrissionPage 方案
- 使用 DrissionPage 替代 Playwright - 实现 Cookie 管理和反爬绕过 - 支持回答/文章/问题三种内容类型 - 灵活配置(文件/环境变量/配置文件) - 更新文档和配置文件
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user