mcpField
P
product-hunt-scraper

product-hunt-scraper

github.com/gooseworks-aiマーケティング・グロース1.3k49 回インストール3 日前に更新
リポジトリ

product-hunt-scraper について

Apify Actor を使って Product Hunt の人気製品を取得するコマンドラインスキルです。日・週・月単位で取得でき、キーワードによる絞り込みや出力形式の選択に対応します。

主な機能

  1. 01日・週・月単位で製品を取得
  2. 02製品キーワードで絞り込み
  3. 03結果数の上限を指定
  4. 04JSON または要約で出力
  5. 05upvote 数で並べ替え

活用シーン

  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 アクターを使用して、Product Hunt のトレンド商品をスクレイピングします。

**出力フィールド:**各商品には name、tagline、description、url(Product Hunt の URL)があり、アクターの出力に応じて追加フィールドが含まれます。

クイックスタート

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 環境変数の使用を推奨)
--timeout300Apify の実行を待機する最大秒数

注意事項

  • キーワードによる絞り込みは、商品名、タグライン、説明を対象にクライアント側で行われます
  • 結果はアップボート数の降順で並べ替えられます

コメント