mcpField
P
product-hunt-scraper

product-hunt-scraper

github.com/gooseworks-ai营销与增长1.3k49 次安装3 天前更新
代码仓库

关于 product-hunt-scraper

这款命令行 Skill 通过 Apify Actor 抓取 Product Hunt 热门产品,支持按日、周或月获取结果,并可筛选关键词和选择输出格式。

主要功能

  1. 01按日、周或月抓取产品
  2. 02按产品关键词筛选
  3. 03限制结果数量
  4. 04输出 JSON 或摘要
  5. 05按 upvote 数排序

适用场景

  1. 01查看当天的 Product Hunt 热门产品
  2. 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-periodweeklydaily、weekly 或 monthly
--max-products50要抓取的产品数量上限
--keywordsnone用于筛选的关键词(逗号分隔,采用 OR 逻辑)
--outputjson输出格式:json 或 summary
--tokenenv varApify 令牌(建议使用 APIFY_API_TOKEN 环境变量)
--timeout300等待 Apify 运行的最长秒数

注意事项

  • 关键词筛选在客户端进行,筛选范围为产品名称、标语和描述
  • 结果按点赞数降序排列

评论

支持 Markdown