Commit Graph

9 Commits

Author SHA1 Message Date
starmen1265 a03223ac80 feat(kb-workflow): 优化无字幕视频处理逻辑
- kb-bilibili-content: extract_subtitle 返回 success=True 即使没有字幕
- 添加 download_subtitle 方法,支持下载官方字幕并转为 SRT 格式
- kb-workflow: 更新工作流逻辑,没有字幕是正常的,继续执行 Whisper
- 添加条件分支:有字幕→深度分析,无字幕→Whisper
2026-02-13 13:36:42 +08:00
starmen1265 1fa90ac21c feat(bilibili): 使用 yt-dlp 替换原有下载方案
- 重写 download_video 使用 yt-dlp + Netscape cookie 文件
- 支持 BILIBILI_COOKIE 环境变量
- 更新默认质量为 720P
- 更新 SKILL.md 文档

环境变量已在 ~/.bashrc 中配置
2026-02-13 11:30:59 +08:00
starmen1265 98c689eaa5 fix(kb-bilibili): 分离API和下载请求,禁用下载自动解压 2026-02-12 10:19:50 +08:00
OpenClaw Agent 672a811c54 fix(kb-workflow): 修正路径管理和子技能逻辑
- kb_workflow.py: 修复目录查询命令(--pending, --metadata等)
- bilibili_metadata.py: headless默认True,逻辑保持纯净
- deep_analyzer.py: 添加缺失的pathlib.Path导入
- SKILL.md: 更新步骤说明,明确由workflow提供路径给子技能

fix: 修复Playwright启动失败(NameError)和路径自动获取问题
2026-02-11 01:35:43 +08:00
OpenClaw Agent df15f9a6fb refactor: 统一CLI输出格式为标准JSON 2026-02-11 01:10:45 +08:00
OpenClaw Agent 47355b36d9 feat(kb-bilibili-content): Add article content extraction using Playwright
- Replace API-based article extraction with Playwright scraping
- Support Bilibili article (专栏) content extraction
- Extract full article text using .read-article-holder selector
- Use async Playwright API for proper async/await support
2026-02-10 14:53:05 +08:00
OpenClaw Agent 26accdd726 fix(kb-bilibili-content): Improve browser headers and cookie support
- Add complete browser headers for better API compatibility
- Read BILIBILI_COOKIE from environment variable
- Add debug print statements for troubleshooting
2026-02-10 14:29:35 +08:00
OpenClaw Agent 51347f671b feat: Improve kb-bilibili-content video download
- Simplify download logic using playurl API
- Support video download without Cookie (FLV format)
- Improve subtitle extraction
- Better error handling and progress display
- Remove unnecessary dependencies
2026-02-10 13:40:03 +08:00
OpenClaw Agent 5507b1d986 feat: Add KB knowledge base series skills
- kb-link-parser: Multi-platform URL parser (Bilibili, YouTube, Zhihu)
- kb-bilibili-metadata: Bilibili video/article/up主 metadata extractor
- kb-zhihu-metadata: Zhihu question/answer/user metadata extractor
- kb-bilibili-content: Bilibili video download and content extraction
- kb-ocr-processor: OCR text extraction from video frames
- kb-deep-analyzer: AI-powered deep content analysis
- kb-workflow: Workflow orchestration (inbox, archive, subscriptions, report)

Also add:
- ARCHITECTURE_FLOWCHART.md: System architecture diagrams
- DETAILED_DESIGN.md: Complete design documentation
2026-02-10 12:18:52 +08:00