1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "searchJobs",
10 "country": "HK",
11 "keywords": "engineer",
12 "location": "",
13 "classification": [],
14 "subclassification": "",
15 "workType": [],
16 "workArrangement": [],
17 "advertiserId": "",
18 "jobId": "",
19 "salaryType": "annual",
20 "dateRange": "",
21 "sortMode": "KeywordRelevance",
22 "maxItems": 50,
23}
24
25
26run = client.actor("crawlerbros/jobsdb-scraper").call(run_input=run_input)
27
28
29print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
30for item in client.dataset(run.default_dataset_id).iterate_items():
31 print(item)
32
33