1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "country": "GB",
10 "enableJobSearch": True,
11 "jobKeywords": [
12 "analyst",
13 "compliance",
14 ],
15 "jobLocation": "London",
16 "jobsPerQuery": 10,
17 "fetchJobDetails": False,
18 "enableJobDetails": False,
19 "jobIds": [],
20 "jobUrls": [],
21 "enableCompanyJobs": False,
22 "companyNames": ["Citi"],
23 "jobsPerCompany": 10,
24 "enableScrapeByUrl": False,
25 "scrapeUrls": [],
26 "webhookFormat": "json",
27 "proxyConfiguration": {
28 "useApifyProxy": True,
29 "apifyProxyGroups": ["RESIDENTIAL"],
30 "apifyProxyCountry": "GB",
31 },
32}
33
34
35run = client.actor("b2b_leads/efinancialcareers-real-time-data-scraper").call(run_input=run_input)
36
37
38print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
39for item in client.dataset(run.default_dataset_id).iterate_items():
40 print(item)
41
42