1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "url": "example: https://app.apollo.io/#/people....",
10 "cookies": """Any B2B platform free account works, no need to have premium account
11STEP 1: Install 'EditThisCookie v3' browser extension
12STEP 2: Go to your lead platform URL (keep the tab open)
13STEP 3: Click the extension icon
14STEP 4: Click 'Export' to copy JSON
15STEP 5: Paste here (replace this text with the exported JSON)""",
16}
17
18
19run = client.actor("amr-mando/lead-finder").call(run_input=run_input)
20
21
22print("๐พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
23for item in client.dataset(run["defaultDatasetId"]).iterate_items():
24 print(item)
25
26