feat(kb-bilibili-metadata): Add UP subscription tracking support

- Enhance _extract_up_async() with subscription tracking:
  - video_count: Number of videos
  - article_count: Number of articles
  - subscription_info: Last video/article for update detection
- Update CLI to support UP subscription queries
- All collection types now support basic_info + subscription status
This commit is contained in:
OpenClaw Agent
2026-02-10 14:34:12 +08:00
parent 26accdd726
commit d216ce4ba7
2 changed files with 60 additions and 8 deletions
@@ -49,8 +49,8 @@ def extract_article(extractor: BilibiliExtractor, cvid: str, output_file: str =
def extract_up(extractor: BilibiliExtractor, mid: str, output_file: str = None) -> Dict[str, Any]:
"""提取UP主信息"""
result = extractor.extract_up_metadata(mid)
"""提取UP主信息(包含订阅跟踪所需信息)"""
result = asyncio.run(extractor._extract_up_async(mid))
if output_file:
with open(output_file, 'w', encoding='utf-8') as f: