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": """[
11 {
12 \"name\": \"PASTE_YOUR_COOKIES_HERE\",
13 \"value\": \"Replace this whole box with your own cookies - any free B2B platform account works, no premium needed\",
14 \"step_1\": \"Install the 'EditThisCookie v3' browser extension\",
15 \"step_2\": \"Go to your lead platform URL while logged in (keep the tab open)\",
16 \"step_3\": \"Click the extension icon\",
17 \"step_4\": \"Click 'Export' to copy the cookies JSON\",
18 \"step_5\": \"Select everything in this box and paste your exported JSON\"
19 }
20]""",
21}
22
23
24run = client.actor("amr-mando/lead-finder").call(run_input=run_input)
25
26
27print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
28for item in client.dataset(run.default_dataset_id).iterate_items():
29 print(item)
30
31