1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [
10 { "url": "https://boards-api.greenhouse.io/v1/boards/dropbox/jobs?content=true" },
11 { "url": "https://api.lever.co/v0/postings/binance?mode=json" },
12 { "url": "https://jobs.ashbyhq.com/linear" },
13 ],
14 "endUrls": [],
15 "query": "",
16 "maxItems": 50,
17 "maxRequestRetries": 1,
18 "requestTimeoutSecs": 25,
19 "maxPages": 3,
20 "crawlDetails": True,
21 "maxDetailPages": 5,
22 "detailConcurrency": 4,
23 "browserFallback": True,
24 "proxyEnabled": True,
25 "targetInput": {},
26}
27
28
29run = client.actor("scrapeai/ats-jobs-scraper-greenhouse-lever-ashby-workable").call(run_input=run_input)
30
31
32print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
33for item in client.dataset(run.default_dataset_id).iterate_items():
34 print(item)
35
36