product-hunt-scraper
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseProduct Hunt Scraper
Product Hunt Scraper
Scrape trending products from Product Hunt using the Apify actor.
danpoletaev/product-hunt-scraper使用Apify的 actor抓取Product Hunt上的热门产品。
danpoletaev/product-hunt-scraperQuick Start
快速开始
Requires env var (or flag). Install dependency: .
APIFY_API_TOKEN--tokenpip install requestsbash
undefined需要配置环境变量(或传入参数)。安装依赖:。
APIFY_API_TOKEN--tokenpip install requestsbash
undefinedToday's top products
Today's top products
python3 skills/product-hunt-scraper/scripts/scrape_producthunt.py
--time-period daily --max-products 10 --output summary
--time-period daily --max-products 10 --output summary
python3 skills/product-hunt-scraper/scripts/scrape_producthunt.py
--time-period daily --max-products 10 --output summary
--time-period daily --max-products 10 --output summary
This week's products filtered by keyword
This week's products filtered by keyword
python3 skills/product-hunt-scraper/scripts/scrape_producthunt.py
--time-period weekly --keywords "AI,marketing" --output summary
--time-period weekly --keywords "AI,marketing" --output summary
python3 skills/product-hunt-scraper/scripts/scrape_producthunt.py
--time-period weekly --keywords "AI,marketing" --output summary
--time-period weekly --keywords "AI,marketing" --output summary
Monthly top products as JSON
Monthly top products as JSON
python3 skills/product-hunt-scraper/scripts/scrape_producthunt.py
--time-period monthly --max-products 50
--time-period monthly --max-products 50
undefinedpython3 skills/product-hunt-scraper/scripts/scrape_producthunt.py
--time-period monthly --max-products 50
--time-period monthly --max-products 50
undefinedCLI Reference
CLI参考
| Flag | Default | Description |
|---|---|---|
| weekly | |
| 50 | Max products to scrape |
| none | Keywords to filter (comma-separated, OR logic) |
| json | Output format: |
| env var | Apify token (prefer |
| 300 | Max seconds to wait for the Apify run |
| 参数 | 默认值 | 描述 |
|---|---|---|
| weekly | 可选值: |
| 50 | 最多抓取的产品数量 |
| none | 过滤关键词(逗号分隔,逻辑为或) |
| json | 输出格式: |
| env var | Apify令牌(推荐使用 |
| 300 | 等待Apify运行的最长秒数 |
Notes
注意事项
- Keyword filtering is client-side on product name + tagline + description
- Results are sorted by upvote count (descending)
- 关键词过滤在客户端执行,匹配范围为产品名称+标语+描述
- 结果按点赞数降序排序