1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "jobFunctionSlugs": [],
10 "jobType": "any",
11 "companySize": "any",
12 "skills": [],
13 "keywords": [],
14 "locations": [],
15 "companyNames": [],
16 "excludeKeywords": [],
17 "skillMatch": "any",
18 "keywordMatch": "any",
19 "remoteOnly": False,
20 "diversityEmployersOnly": False,
21 "includeDetails": False,
22 "excludeAgencyPosted": False,
23 "trackCompanies": [],
24 "maxItems": 50,
25 "maxPages": 10,
26 "proxyConfiguration": { "useApifyProxy": True },
27 "monitorMode": "snapshot",
28 "emitBaseline": True,
29 "includeUnchanged": False,
30 "stateName": "",
31}
32
33
34run = client.actor("mlg14/instahyre-scraper").call(run_input=run_input)
35
36
37print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41