1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": ["https://www.google.com/maps/place/Tr%C3%A0+s%E1%BB%AFa+Feeling+Tea+B%E1%BA%A1c+Li%C3%AAu/@9.2958277,105.7306288,17z/data=!4m8!3m7!1s0x31a1090bfc613b0d:0x236a0a4f8f3febce!8m2!3d9.2958224!4d105.7332037!9m1!1b1!16s%2Fg%2F11s_z0qsz8"],
10 "maxReviews": 100,
11 "proxy": {
12 "useApifyProxy": True,
13 "apifyProxyGroups": ["RESIDENTIAL"],
14 },
15}
16
17
18run = client.actor("herus13/google-maps-reviews-scraper").call(run_input=run_input)
19
20
21print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
22for item in client.dataset(run.default_dataset_id).iterate_items():
23 print(item)
24
25