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 "_REQUIRED": "๐ช You need to do these steps to use the scraper",
12 "_INSTRUCTIONS": "๐ฅ Download EditThisCookie v3 Extension or any other cookie extractor extension from Chrome Web Store or your browser web store",
13 "_INSTRUCTIONS_2": "๐ While on the lead platform browser tab โ Click extension icon โ Click 'Export'",
14 "_INSTRUCTIONS_3": "๐ DELETE THIS ENTIRE OBJECT AND PASTE YOUR EXPORTED COOKIES ARRAY HERE",
15 "_INSTRUCTIONS_4": "โ ๏ธ Best recommended to keep your lead platform tab open during the scrape",
16 }],
17}
18
19
20run = client.actor("amr-mando/lead-finder-rental").call(run_input=run_input)
21
22
23print("๐พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
24for item in client.dataset(run["defaultDatasetId"]).iterate_items():
25 print(item)
26
27