1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "enableJobSearch": True,
10 "jobKeywords": ["python"],
11 "jobCategories": ["remote-programming-jobs"],
12 "jobLocation": "",
13 "jobCompany": "",
14 "jobDatePosted": "any",
15 "jobsPerQuery": 10,
16 "searchFetchFullDetails": False,
17 "enableScrapeByUrl": False,
18 "jobUrls": [],
19 "webhookUrl": "",
20 "webhookFormat": "json",
21 "proxyConfiguration": {
22 "useApifyProxy": True,
23 "apifyProxyGroups": ["RESIDENTIAL"],
24 "apifyProxyCountry": "US",
25 },
26}
27
28
29run = client.actor("b2b_leads/we-work-remotely-real-time-data-scraper").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