1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "target_username": "bbbbyyyhhh1",
10 "start_from_position": 0,
11 "max_followers_to_scrape": 1000,
12 "instagram_cookie": [{
13 "name": "test",
14 "value": "0",
15 "domain": ".instagram.com",
16 "path": "/",
17 "expires": 1764923760.811145,
18 "httpOnly": False,
19 "secure": True,
20 }],
21 "proxySettings": { "useApifyProxy": False },
22}
23
24
25run = client.actor("wilcode/instagram-follower-scraper").call(run_input=run_input)
26
27
28print("πΎ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
29for item in client.dataset(run["defaultDatasetId"]).iterate_items():
30 print(item)
31
32