修复B站短链接解析问题和处理流程说明
1. 修复短链接解析bug: - 新增 _resolve_shortlink_bvid() 方法 - 使用 Playwright + stealth 模式解析 b23.tv 短链接 - 确保反爬机制正常工作 2. 更新 SKILL.md 使用说明: - 添加明确的处理流程说明 - 说明收到链接后直接处理,不要问用户 - 添加示例触发词 修复问题:短链接无法自动解析,反爬机制未生效
This commit is contained in:
@@ -1,10 +1,27 @@
|
||||
---
|
||||
name: obsidian-kb
|
||||
description: Multi-source content knowledge base maintenance system with long video segment analysis. Use when managing Obsidian vaults, processing video content from Bilibili/YouTube/Zhihu, or generating markdown notes from videos.
|
||||
description: Multi-source content knowledge base with video processing. Auto-triggers on B站/bilibili video links (BV号, b23.tv, www.bilibili.com), YouTube videos, or Zhihu articles. Use when user mentions adding videos to inbox, processing video content, extracting subtitles, or generating markdown notes from B站/YouTube/Zhihu content.
|
||||
---
|
||||
|
||||
# SKILL.md - Obsidian KB Skill
|
||||
|
||||
## 🚀 重要:处理流程
|
||||
|
||||
**当用户发送视频链接并要求保存到知识库时,直接处理,不要问用户!**
|
||||
|
||||
正确流程:
|
||||
1. 用户发送B站链接(BV号、完整URL、或短链接如 b23.tv/xxxxx)
|
||||
2. 用户说"保存到知识库"、"添加到知识库"、"处理这个视频"等
|
||||
3. **直接使用** `workspace/skills/obsidian-kb` 处理
|
||||
4. 不要检查全局命令,不要问用户"要安装工具还是手动处理"
|
||||
|
||||
**示例触发词:**
|
||||
- "保存到知识库"
|
||||
- "添加到知识库"
|
||||
- "处理这个视频"
|
||||
- "提取字幕生成笔记"
|
||||
- "生成obsidian笔记"
|
||||
|
||||
## 元数据
|
||||
|
||||
- **名称**: obsidian-kb
|
||||
|
||||
Reference in New Issue
Block a user