1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "placeUrls": ["https://map.naver.com/p/entry/place/38239053"],
10 "searchKeywords": ["스타벅스 강남"],
11 "maxPlacesPerKeyword": 3,
12 "maxReviews": 20,
13 "includeBlogReviews": True,
14 "includeReviewPhotos": False,
15 "includeReviewStats": True,
16 "maxConcurrency": 3,
17 "maxItems": 50,
18 "proxyConfiguration": { "useApifyProxy": True },
19}
20
21
22run = client.actor("crawlerbros/naver-place-reviews-scraper").call(run_input=run_input)
23
24
25print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
26for item in client.dataset(run.default_dataset_id).iterate_items():
27 print(item)
28
29