1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "keyword": "python",
10 "job_location": "",
11 "company_name": "",
12 "cookies": ["auth_token=ed93d1477a10948adbf776696f92f0391ccd821e;gt=1882640435958657096;ph_phc_TXdpocbGVeZVm5VJmAsHTMrCofBQu3e0kN8HGMNGTVW_posthog=%7B%22distinct_id%22%3A%220194698a-e095-7869-940a-3a43aa499620%22%2C%22%24sesid%22%3A%5B1736937496840%2C%220194698a-e095-7869-940a-3a41663058f4%22%2C1736937496725%5D%7D;guest_id=v1%3A173768281104237392;twid=u%3D1479073844589895680;auth_multi=1879895716690337792:285b268fc62eb7f31caa3f2a29a40a4df3295281;night_mode=2;att=1-heqdZVqxXy0OkJq6gnJmknscbQLu8o7pfgZK443A;ct0=d501b08fc75ea70981446c5992759b21b737675002ec8e3a606c751f418ce45186e520ebf9f8f5b7d99ffc5e6613fe48eb9e4af6de83a227d0dc427a42a256503ac8722544a06cae92cd5a9d88c589b2;dnt=1;guest_id_ads=v1%3A173768281104237392;guest_id_marketing=v1%3A173768281104237392;kdt=O83gjfkTl8AaNp5z3JXyUGdr1k0xFZPBwD9myC97;personalization_id=v1_SkJRGfsm95VskQ4ujBPgEQ=="],
13 "nextCursor": "",
14}
15
16
17run = client.actor("fastcrawler/twitter-jobs-fast-cheapest-scraper").call(run_input=run_input)
18
19
20print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
21for item in client.dataset(run["defaultDatasetId"]).iterate_items():
22 print(item)
23
24