fix: 修复知乎专栏文章爬取问题
PR Test / lint (pull_request) Successful in 1s

- zhihu_content.py 添加 zhuanlan/article 类型支持
- 内部自动调用 zhihu_article_crawler.py 爬取新数据
- 更新 SKILL.md 文档,明确知乎专栏处理流程
- 解决读取旧数据导致分析错误内容的问题
This commit is contained in:
2026-03-09 23:15:59 +08:00
parent b36d8575d4
commit 3909bb0321
2 changed files with 59 additions and 4 deletions
+7 -2
View File
@@ -222,8 +222,13 @@ python3 /path/to/bilibili_content.py --id "43780186" --type article --output [co
**知乎文章/问答**:
```bash
# 知乎问答/专栏提取(需要对应的 content 技能支持)
python3 /path/to/zhihu_content.py --id "[ID]" --type [question|answer|zhuanlan] --output [content_dir]
# 知乎专栏文章(推荐方式:自动爬取)
python3 /path/to/zhihu_content.py --id "2013919514258072086" --type zhuanlan --output [content_dir]
# 或使用完整 URL
python3 /path/to/zhihu_content.py --id "https://zhuanlan.zhihu.com/p/2013919514258072086" --type zhuanlan --output [content_dir]
# 如果已有 MediaCrawler 数据,可直接读取
python3 /path/to/zhihu_content.py --type article-from-media --input [json文件路径] --output [content_dir]
```
3. 解析输出 JSON,提取文字内容用于深度分析