1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "urls": [
10 "https://www.webstaurantstore.com/avantco-awt-60r-60-worktop-refrigerator-with-3-1-2-backsplash/178AWT60R.html",
11 "https://www.webstaurantstore.com/avantco-awt-72r-72-worktop-refrigerator-with-3-1-2-backsplash/178AWT72R.html",
12 "https://www.webstaurantstore.com/avantco-ubb-72g-hc-s-73-stainless-steel-counter-height-narrow-glass-door-back-bar-refrigerator-with-led-lighting/178UBB72GHCS.html",
13 "https://www.webstaurantstore.com/avantco-gds-47-hc-53-1-8-white-sliding-glass-door-merchandiser-refrigerator-with-led-lighting/178GDS47HCW.html",
14 "https://www.webstaurantstore.com/avantco-ubb-4-hc-90-black-counter-height-solid-door-back-bar-refrigerator-with-led-lighting/178UBB4HC.html",
15 ],
16 "ignore_url_failures": True,
17}
18
19
20run = client.actor("soft_alexist/webstaurantstore-product-details-scraper").call(run_input=run_input)
21
22
23print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
24for item in client.dataset(run.default_dataset_id).iterate_items():
25 print(item)
26
27