1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "hashtags": [
10 "travel",
11 "food",
12 "photography",
13 "fashion",
14 "fitness",
15 "love",
16 "instagood",
17 "photooftheday",
18 "beautiful",
19 "happy",
20 "cute",
21 "picoftheday",
22 "follow",
23 "me",
24 "selfie",
25 "summer",
26 "art",
27 "instadaily",
28 "friends",
29 "repost",
30 "nature",
31 "girl",
32 "fun",
33 "style",
34 "smile",
35 "food",
36 "family",
37 "travel",
38 "fitness",
39 "foodie",
40 "instafood",
41 "motivation",
42 "lifestyle",
43 "homedesign",
44 "interiordesign",
45 "workout",
46 "gym",
47 "makeup",
48 "skincare",
49 "beauty",
50 "ootd",
51 "streetstyle",
52 "outfit",
53 "shoes",
54 "wedding",
55 "bride",
56 "coffee",
57 "yoga",
58 "sunset",
59 "beach",
60 ],
61 "maxItems": 10,
62 "proxyConfiguration": {
63 "useApifyProxy": True,
64 "apifyProxyGroups": ["RESIDENTIAL"],
65 },
66}
67
68
69run = client.actor("parseforge/instagram-hashtag-analytics-scraper").call(run_input=run_input)
70
71
72print("๐พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
73for item in client.dataset(run["defaultDatasetId"]).iterate_items():
74 print(item)
75
76