1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [
10 "https://www.bike-components.de/en/Continental/Grand-Prix-5000-28-Folding-Tyre-p68409/?v=53662-black",
11 "https://www.bike-components.de/en/SRAM/XG-1275-12-speed-Cassette-for-GX-Eagle-p57614/",
12 "https://www.bike-components.de/en/Factor/OSTRO-V-A-M-Disc-T47a-Shimano-Carbon-Frameset-2023-Model-p93128/",
13 ],
14 "proxyConfiguration": { "useApifyProxy": True },
15}
16
17
18run = client.actor("nerdnd/bike-components-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