虾抓抓 v4.0 - 超强内容抓取,支持 Markdown、PDF、多模态提取、结构化抽取、翻译、视频下载。触发词:抓取网页、网页转Markdown、内容抓取、虾抓抓、视频下载
原名:xia-zhua-zhua,又称Content Catcher
新功能说明PDF导出直接导出为PDF多模态提取图片/音频/视频资源结构化抽取表格/列表/卡片智能识别增量监测页面更新自动提醒翻译集成抓取后自动翻译深度渲染完整JS动态内容
模式命令说明标准模式node markdown-clip.js <url>CSS选择器Smart模式node markdown-clip.js <url> --smartReadability AI分析模式node markdown-clip.js <url> --analyze摘要+关键词
命令说明python video_catcher_pro.py ytdlp <url>yt-dlp下载python video_catcher_pro.py m3u8 <url>M3U8下载
bash
# 提取图片资源
node content-extractor.js <url> --images
# 提取所有媒体
node content-extractor.js <url> --media
bash
# 导出为PDF
node content-extractor.js <url> --pdf
# Markdown + PDF双导出
node content-extractor.js <url> --both
bash
# 智能识别表格
node content-extractor.js <url> --tables
# 识别列表数据
node content-extractor.js <url> --lists
bash
# 监测页面更新
node content-watcher.js <url> --watch
# 设置更新提醒
node content-watcher.js <url> --watch --notify
bash
# 翻译为英文
node content-extractor.js <url> --translate en
# 翻译为日文
node content-extractor.js <url> --translate jp
text
┌─────────────────────────────────────────────────────────┐
│ Content Catcher v4.0 │
├─────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ Playwright │ │ Turndown │ │ yt-dlp │ │
│ │ (渲染) │ │ (Markdown) │ │ (视频) │ │
│ └──────┬──────┘ └──────┬──────┘ └─────────────┘ │
│ │ │ │
│ ┌──────▼──────┐ ┌──────▼──────┐ │
│ │ 多模态提取 │ │ 结构化 │ │
│ │ 图片/音频 │ │ 表格/列表 │ │
│ └─────────────┘ └─────────────┘ │
│ │ │
│ ┌──────▼──────┐ │
│ │ 输出格式 │ │
│ │ Markdown │ │
│ │ PDF │ │
│ │ JSON │ │
│ └─────────────┘ │
└─────────────────────────────────────────────────────────┘
功能v2.xv3.xv4.xMarkdown✅✅✅Smart模式✅✅✅分析✅✅✅视频下载-✅✅PDF导出--✅多模态--✅结构化--✅增量监测--✅翻译--✅
工具状态用途Node.js✅运行环境Playwright✅页面渲染Turndown✅HTML→MarkdownPython✅分析/翻译yt-dlp✅视频下载weasyprint✅PDF导出googletrans⬜翻译(可选)
bash
node xia-zhua-zhua/markdown-clip.js https://example.com --smart
bash
node content-extractor.js https://example.com --media --pdf
bash
python video-catcher/video_catcher_pro.py ytdlp https://b.com/video
text
content-catcher/
├── SKILL.md # 本文档
├── xia-zhua-zhua/ # 虾抓抓模块
│ ├── markdown-clip.js # 主脚本
│ └── ...
└── video-catcher/ # 视频模块
├── video_catcher_pro.py # 主脚本
└── ...