1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "product_ids": [
9 "https://www.walmart.ca/en/reviews/product/6000196719362",
10 "https://www.walmart.com/reviews/product/656435841",
11 "https://www.walmart.ca/en/ip/royale-velour-toilet-paper-30-equal-62-bathroom-tissue-rolls/6000200067288",
12 "11213810783",
13 ] }
14
15
16run = client.actor("web_wanderer/walmart-reviews-scraper").call(run_input=run_input)
17
18
19print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
20for item in client.dataset(run["defaultDatasetId"]).iterate_items():
21 print(item)
22
23