1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "country": "de",
11 "queries": ["nike"],
12 "urls": [
13 "https://www.vinted.de/catalog?search_text=nike",
14 "https://www.vinted.de/catalog?search_text=nike&page=2",
15 "https://www.vinted.de/catalog?search_text=nike&order=newest_first",
16 "https://www.vinted.de/catalog?search_text=nike&catalog[]=1242&brand_ids[]=53&price_to=50&status_ids[]=6",
17 "https://www.vinted.de/catalog?brand_ids[]=53",
18 "https://www.vinted.de/catalog/1242-sneakers",
19 "https://www.vinted.de/catalog/1242-sneakers?page=2&order=newest_first",
20 "https://www.vinted.de/catalog/1242-sneakers?brand_ids[]=53",
21 "https://www.vinted.de/brand/53-nike",
22 "https://www.vinted.de/items/10566802080-nike-sneaker",
23 "https://www.vinted.de/items/10566802080",
24 "https://www.vinted.co.uk/items/10566802080-nike-sneaker",
25 "https://www.vinted.de/member/3162455054",
26 "https://www.vinted.de/member/3162455054-vrna21",
27 "https://www.vinted.de/member/3162455054?page=2",
28 "https://www.vinted.co.uk/catalog?search_text=nike",
29 "https://www.vinted.com/catalog?search_text=nike",
30 "https://vinted.de/catalog?search_text=nike",
31 ],
32 "sellers": ["https://www.vinted.de/member/3162455054"],
33 "proxy": {
34 "useApifyProxy": True,
35 "apifyProxyGroups": ["RESIDENTIAL"],
36 },
37 "incrementalMode": False,
38 "emitUnchanged": False,
39 "emitExpired": False,
40 "ignoreFieldsForChanges": [],
41}
42
43
44run = client.actor("abotapi/vinted-marketplace-scraper").call(run_input=run_input)
45
46
47print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
48for item in client.dataset(run.default_dataset_id).iterate_items():
49 print(item)
50
51