Install
openclaw skills install @lunadelo/image-collectorAI 科技日报图片采集工具,从官方来源自动采集新闻配图,支持水印检测、质量检查和关联性验证
openclaw skills install @lunadelo/image-collector自动为 AI 科技日报新闻采集配图,确保:
# 检查依赖
bash ~/.openclaw/workspace/skills/image-collector/scripts/check-deps.sh
# 为单条新闻采集配图
python3 ~/.openclaw/workspace/skills/image-collector/scripts/collect_images.py \
--news "苹果国行 AI 凌晨偷跑" \
--keywords "Apple,Intelligence,Baidu" \
--source "apple.com"
| 优先级 | 来源类型 | 示例域名 |
|---|---|---|
| P0 | 官方新闻稿 | apple.com, microsoft.com, openai.com |
| P1 | 权威媒体 | 36kr.com, bloomberg.com, reuters.com |
| P2 | 产品截图 | 手动截取(使用 web-access skill) |
| P3 | 自制图表 | Python matplotlib / Excel |
| 禁用 | 随机图片 | unsplash.com, pixabay.com |
| 禁用 | 微信图片 | mmbiz.qpic.cn |
当自动采集失败时:
# 1. 用 web-access 打开官网截图
curl -s "http://localhost:3456/new?url=https://www.apple.com/newsroom"
# 2. 截图后手动保存到 article-images/
# 3. 用 image-collector 优化
python3 collect_images.py --optimize /tmp/screenshot.png
九万