a69225ff2b
- 使用 DrissionPage 替代 Playwright - 实现 Cookie 管理和反爬绕过 - 支持回答/文章/问题三种内容类型 - 灵活配置(文件/环境变量/配置文件) - 更新文档和配置文件
39 lines
748 B
YAML
39 lines
748 B
YAML
obsidian:
|
|
vault_path: /home/admin/.openclaw/workspace/knowledge-base
|
|
|
|
git:
|
|
enabled: false
|
|
vault_path: /home/admin/.openclaw/workspace/knowledge-base
|
|
remote: origin
|
|
branch: main
|
|
auto_push: false
|
|
commit_message_template: "Add note: {title}"
|
|
|
|
output:
|
|
organize_by: author
|
|
filename_format: "{date}_{title}.md"
|
|
auto_tags: true
|
|
default_tags:
|
|
- video
|
|
- bilibili
|
|
|
|
sources:
|
|
bilibili:
|
|
enabled: true
|
|
extraction:
|
|
headless: true
|
|
timeout: 30
|
|
|
|
zhihu:
|
|
enabled: true
|
|
use_drissionpage: true
|
|
cookie_file: ~/.obsidian-kb/zhihu_cookies.json
|
|
cookie_str: "" # 可选:直接在配置中填入
|
|
timeout: 30
|
|
headless: true
|
|
|
|
chunking:
|
|
enabled: true
|
|
chunk_duration_seconds: 900
|
|
long_video_threshold: 1800
|