1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "url": "https://www.homedepot.com/p/RYOBI-ONE-18V-Lithium-Ion-4-0-Ah-Battery-2-0-Ah-Battery-and-Charger-Kit-with-FREE-ONE-Hybrid-WHISPER-SERIES-7-1-2-in-Fan-PCL811B-PSK106SB/329129707?MERCH=REC-_-personalizedDeals-_-n/a-_-0-_-n/a-_-n/a-_-n/a-_-n/a-_-n/a" }
9
10
11run = client.actor("scraped/home-depot-product-review-scraper").call(run_input=run_input)
12
13
14print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
15for item in client.dataset(run["defaultDatasetId"]).iterate_items():
16 print(item)
17
18