1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "username": "beth.mcll",
10 "max_limit": 1000,
11 "proxyGroups": [],
12 "cookies": [
13 {
14 "name": "datr",
15 "value": "sL_rZ1VMWqwRVcCuWXiAQmZX",
16 "domain": ".instagram.com",
17 "path": "/",
18 "expires": 1778063286.150982,
19 "httpOnly": True,
20 "secure": True,
21 },
22 {
23 "name": "ig_did",
24 "value": "1C8AA31D-EA64-4F7A-BFB7-A5E4CFB044A2",
25 "domain": ".instagram.com",
26 "path": "/",
27 "expires": 1775039289.586829,
28 "httpOnly": True,
29 "secure": True,
30 },
31 {
32 "name": "mid",
33 "value": "Z-u_sAALAAFLVNABqbKzftY5QmVX",
34 "domain": ".instagram.com",
35 "path": "/",
36 "expires": 1778063286.151132,
37 "httpOnly": True,
38 "secure": True,
39 },
40 {
41 "name": "csrftoken",
42 "value": "K2icskn2peDTQSn8Fpc4d0UeXI5gvHUA",
43 "domain": ".instagram.com",
44 "path": "/",
45 "expires": 1774971325.552493,
46 "httpOnly": False,
47 "secure": True,
48 },
49 {
50 "name": "ds_user_id",
51 "value": "73139193689",
52 "domain": ".instagram.com",
53 "path": "/",
54 "expires": 1751297725.552724,
55 "httpOnly": False,
56 "secure": True,
57 },
58 {
59 "name": "sessionid",
60 "value": "73539491489%3A377qgGLgpVU9QO%3A18%3AAYdYA1n9adejJUjkr8k17j3-LCTLoeEC2wsBnd-_oA",
61 "domain": ".instagram.com",
62 "path": "/",
63 "expires": 1775039435.486017,
64 "httpOnly": True,
65 "secure": True,
66 },
67 {
68 "name": "wd",
69 "value": "1358x642",
70 "domain": ".instagram.com",
71 "path": "/",
72 "expires": 1744126523,
73 "httpOnly": False,
74 "secure": True,
75 "sameSite": "Lax",
76 },
77 {
78 "name": "rur",
79 "value": "\"RVA\\05473539498689\\0541775057726:01f7831497b9bd63ed547dedca6805d32284ae9700d432ff00bfdd136ae1c88416ec2841\"",
80 "domain": ".instagram.com",
81 "path": "/",
82 "expires": -1,
83 "httpOnly": True,
84 "secure": True,
85 "sameSite": "Lax",
86 },
87 ],
88}
89
90
91run = client.actor("coderx/instagram-followers-list-scraper").call(run_input=run_input)
92
93
94print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
95for item in client.dataset(run["defaultDatasetId"]).iterate_items():
96 print(item)
97
98