1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "browse",
10 "productUrls": ["https://klekt.com/product/new/yeezy-boost-350-v2-onyx"],
11 "strategy": "trending",
12 "brand": "",
13 "brandLine": "",
14 "size": "",
15 "priceFrom": 0,
16 "priceTo": 0,
17 "fetchDetails": True,
18 "maxItems": 20,
19 "maxPages": 0,
20 "incrementalMode": False,
21 "emitUnchanged": False,
22 "emitExpired": False,
23 "proxy": { "useApifyProxy": True },
24}
25
26
27run = client.actor("abotapi/klekt-com-scraper").call(run_input=run_input)
28
29
30print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
31for item in client.dataset(run.default_dataset_id).iterate_items():
32 print(item)
33
34