1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "feeds": [{
9 "id": "children-products",
10 "name": "Children product recall watch",
11 "productNames": "toy",
12 "brands": "",
13 "categories": "children,toy",
14 "keywords": "choking,burn,laceration",
15 }] }
16
17
18run = client.actor("taroyamada/cpsc-product-recall-marketplace-watch-scraper").call(run_input=run_input)
19
20
21print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
22for item in client.dataset(run["defaultDatasetId"]).iterate_items():
23 print(item)
24
25