关于 product-hunt-scraper
这款命令行 Skill 通过 Apify Actor 抓取 Product Hunt 热门产品,支持按日、周或月获取结果,并可筛选关键词和选择输出格式。
主要功能
- 01按日、周或月抓取产品
- 02按产品关键词筛选
- 03限制结果数量
- 04输出 JSON 或摘要
- 05按 upvote 数排序
适用场景
- 01查看当天的 Product Hunt 热门产品
- 02查找符合营销关键词的产品
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ gooseworks-ai/ goose-skills --skill product-hunt-scraper安装后在 Claude Code 中输入/product-hunt-scraper确认已加载。
附带文件scripts/scrape_producthunt.pyskill.meta.json
详细介绍
Product Hunt 抓取工具
使用 Apify maximedupre/product-hunt-scraper Actor 抓取 Product Hunt 上的热门产品。
**输出字段:**每个产品包含 name、tagline、description、url(Product Hunt URL),以及根据 Actor 输出而定的其他字段。
快速开始
需要设置 APIFY_API_TOKEN 环境变量(或使用 --token 标志)。
# Today's top products
python3 skills/product-hunt-scraper/scripts/scrape_producthunt.py \
--time-period daily --max-products 10 --output summary
# This week's products filtered by keyword
python3 skills/product-hunt-scraper/scripts/scrape_producthunt.py \
--time-period weekly --keywords "AI,marketing" --output summary
# Monthly top products as JSON
python3 skills/product-hunt-scraper/scripts/scrape_producthunt.py \
--time-period monthly --max-products 50
CLI 参考
| 标志 | 默认值 | 说明 |
|---|---|---|
--time-period | weekly | daily、weekly 或 monthly |
--max-products | 50 | 要抓取的产品数量上限 |
--keywords | none | 用于筛选的关键词(逗号分隔,采用 OR 逻辑) |
--output | json | 输出格式:json 或 summary |
--token | env var | Apify 令牌(建议使用 APIFY_API_TOKEN 环境变量) |
--timeout | 300 | 等待 Apify 运行的最长秒数 |
注意事项
- 关键词筛选在客户端进行,筛选范围为产品名称、标语和描述
- 结果按点赞数降序排列
评论
支持 Markdown