1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "Urls": [
9 "https://www.yelp.com/biz/dessert-gallery-houston-6",
10 "https://www.yelp.com/biz/san-marzano-pasta-fresca-new-york",
11 "https://www.yelp.com/biz/tavola-new-york",
12 "https://www.yelp.com/biz/paesano-of-mulberry-street-new-york",
13 "https://www.yelp.com/biz/remi-flower-and-coffee-new-york-2",
14 "https://www.yelp.com/biz/black-fox-coffee-new-york",
15 "https://www.yelp.com/biz/sky-dental-new-york-4",
16 "https://www.yelp.com/biz/lumia-dental-new-york-4",
17 "https://www.yelp.com/biz/gotham-city-collision-long-island-city",
18 "https://www.yelp.com/biz/bimmer-motors-group-long-island-city",
19 "https://www.yelp.com/biz/cs-painting-and-wallpaper-sunnyside",
20 "https://www.yelp.com/biz/212-painter-new-york-2",
21 "https://www.yelp.com/biz/carmines-new-york-16",
22 "https://www.yelp.com/biz/brooklyn-bowl-brooklyn",
23 "https://www.yelp.com/biz/coco-nails-art-new-york-5",
24 "https://www.yelp.com/biz/space-ping-pong-lounge-and-bar-new-york",
25 "https://www.yelp.com/biz/barcade-new-york-5",
26 "https://www.yelp.com/biz/urbanstems-new-york",
27 "https://www.yelp.com/biz/tin-lung-heen-kowloon",
28 "https://www.yelp.com/biz/ozone-kowloon",
29 ] }
30
31
32run = client.actor("delicious_zebu/yelp-business-info-scraper").call(run_input=run_input)
33
34
35print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
36for item in client.dataset(run.default_dataset_id).iterate_items():
37 print(item)
38
39