1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "keywords": "teacher",
11 "urls": [
12 "https://www.edjoin.org/Home/Jobs?keywords=teacher&location=&searchType=all",
13 "https://www.edjoin.org/Home/JobPosting/2287270",
14 "https://www.edjoin.org/Home/Jobs?keywords=librarian&page=2&searchType=all",
15 "https://www.edjoin.org/Home/Jobs?keywords=teacher&catID=1&jobTypes=4&days=7&onlineApps=true&order=asc&searchType=all",
16 "https://www.edjoin.org/Home/Jobs?location=Los+Angeles&searchType=all",
17 "https://www.edjoin.org/Home/Jobs",
18 "https://www.edjoin.org/Home/JobPosting/2287330",
19 "https://www.edjoin.org/Home/Jobs?districtID=3672&searchType=all",
20 ],
21 "proxy": { "useApifyProxy": True },
22}
23
24
25run = client.actor("abotapi/edjoin-scraper").call(run_input=run_input)
26
27
28print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
29for item in client.dataset(run.default_dataset_id).iterate_items():
30 print(item)
31
32