finding-restaurant-brands-on-instagram
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFinding Restaurant Brands On Instagram
在Instagram上寻找餐饮品牌
Inputs
输入参数
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| array | ✅ | | Instagram URLs — profiles, hashtags, locations, audio pages, reels |
| string | Optional | — | Scrape posts until this date (YYYY-MM-DD) |
| number | Optional | Unlimited | Maximum posts to return |
| string | Optional | — | JavaScript function to transform each output object |
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| 数组 | ✅ | | Instagram 链接 — 个人主页、话题标签、地理位置、音频页面、Reels |
| 字符串 | 可选 | — | 抓取帖子的截止日期(格式:YYYY-MM-DD) |
| 数字 | 可选 | 无限制 | 返回的最大帖子数量 |
| 字符串 | 可选 | — | 用于转换每个输出对象的JavaScript函数 |
How to Run
运行方法
Using run_actor.js (recommended)
使用run_actor.js(推荐)
bash
undefinedbash
undefinedQuick answer (table)
Quick answer (table)
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}'
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}'
Save as CSV
Save as CSV
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}' --output results.csv --format csv
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}' --output results.csv --format csv
Save as JSON
Save as JSON
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}' --output results.json --format json
undefinednode scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}' --output results.json --format json
undefinedREST API fallback
REST API备选方案
bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}'If Apify MCP is available:
Use the Apify MCP tool with actor and the input above.
call_actorapidojo~instagram-scraperbash
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}'如果Apify MCP可用:
使用Apify MCP的工具,指定actor为并传入上述输入参数。
call_actorapidojo~instagram-scraperScoring & Ranking
评分与排名
Score each account by:
- → weight 0.4
engagement_rate = (likeCount + commentCount) / followerCount - → normalized 0-1, weight 0.3
followerCount - (bio contains phone/website/address keywords) → weight 0.3
has_business_bio
python
score = 0.4 * min(engagement_rate / 0.05, 1.0) + 0.3 * min(followerCount / 50000, 1.0) + 0.3 * int(has_business_bio)按照以下维度为每个账号评分:
- → 权重0.4
engagement_rate = (点赞数 + 评论数) / 粉丝数 - → 归一化至0-1区间,权重0.3
粉丝数 - (个人简介包含电话/网站/地址关键词)→ 权重0.3
has_business_bio
python
score = 0.4 * min(engagement_rate / 0.05, 1.0) + 0.3 * min(followerCount / 50000, 1.0) + 0.3 * int(has_business_bio)Classification
分类等级
| Score | Tier | Label |
|---|---|---|
| ≥ 0.70 | A | PRIME_PROSPECT |
| 0.40–0.69 | B | WARM_LEAD |
| < 0.40 | C | LOW_PRIORITY |
| 分数 | 等级 | 标签 |
|---|---|---|
| ≥ 0.70 | A | PRIME_PROSPECT |
| 0.40–0.69 | B | WARM_LEAD |
| < 0.40 | C | LOW_PRIORITY |
Edge Cases
边缘情况
- Hashtag too broad: returns millions of posts from consumers, not businesses. Use niche tags like
#foodor#restaurantowner.#foodbiz - No business in bio: Filter by accounts that have website links or phone in bio.
- Consumer accounts mixed in: Filter by followerCount > 500 and postCount > 20.
- Private account: No post data — skip.
- Duplicate accounts: Same brand may post under multiple hashtags — deduplicate by username.
- 话题标签过于宽泛:会返回数百万来自普通用户而非企业的帖子。使用细分标签如
#food或#restaurantowner。#foodbiz - 个人简介无商业信息:筛选个人简介中包含网站链接或电话的账号。
- 混入普通用户账号:筛选粉丝数>500且帖子数>20的账号。
- 私人账号:无帖子数据 — 跳过。
- 重复账号:同一品牌可能出现在多个话题标签下 — 通过用户名去重。