1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "searchKeyword": "",
10 "location": "",
11 "distanceMiles": "",
12 "startUrls": [],
13 "sectors": [],
14 "jobTypes": [],
15 "contractTypes": [],
16 "workingLocations": [],
17 "advertiserType": "",
18 "companyName": "",
19 "roleFlags": [],
20 "sortBy": "newest",
21 "includeJobDetails": True,
22 "maxResults": 100,
23}
24
25
26run = client.actor("solidcode/s1jobs-com-scraper").call(run_input=run_input)
27
28
29print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
30for item in client.dataset(run["defaultDatasetId"]).iterate_items():
31 print(item)
32
33