1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "game": "Pokemon",
11 "searchStrings": ["Blastoise ex"],
12 "urls": [
13 "https://www.cardmarket.com/en/Pokemon/Products/Singles/151/Blastoise-ex-V3-MEW200",
14 "https://www.cardmarket.com/de/Pokemon/Products/Singles/151/Blastoise-ex-V3-MEW200",
15 "https://www.cardmarket.com/en/Pokemon/Products/Singles/151/Blastoise-ex-V3-MEW200?language=1&minCondition=3",
16 "https://www.cardmarket.com/en/Pokemon/Products/Singles/151",
17 "https://www.cardmarket.com/en/Magic/Products/Singles/Zendikar-Rising",
18 "https://www.cardmarket.com/en/Pokemon/Products/Singles",
19 "https://www.cardmarket.com/en/Pokemon/Expansions",
20 "https://www.cardmarket.com/en/Pokemon/Expansions/151",
21 "https://www.cardmarket.com/en/Pokemon/Products/Search?searchString=Blastoise+ex",
22 "https://www.cardmarket.com/en/YuGiOh/Products/Search?searchString=Blue-Eyes",
23 "https://www.cardmarket.com/en/Pokemon/Users/thenutworldwide",
24 "https://www.cardmarket.com/en/Pokemon/Users/thenutworldwide/Offers/Singles",
25 "https://www.cardmarket.com/en/Pokemon/Users/thenutworldwide/Offers/Sealed",
26 "https://www.cardmarket.com/en/Pokemon/Users/thenutworldwide/Offers",
27 ],
28 "maxOffers": 20,
29 "maxFeedback": 20,
30 "maxItems": 20,
31 "proxyConfiguration": { "useApifyProxy": True },
32 "mcpConnectors": [],
33}
34
35
36run = client.actor("abotapi/cardmarket-com-scraper").call(run_input=run_input)
37
38
39print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
40for item in client.dataset(run.default_dataset_id).iterate_items():
41 print(item)
42
43