1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "feature": "profile",
10 "proxyConfiguration": { "useApifyProxy": False },
11 "post_url": "https://www.etoro.com/posts/eb393b50-5f9f-11ef-8080-80015bc20041",
12 "post_feature": "infos",
13 "profile_url": "https://www.etoro.com/people/sylwanin",
14 "profile_feature": "profile_stats_about",
15 "screener_url": "https://www.etoro.com/discover/screener?sort=-holdingPct",
16 "screener_feature": "popular_stocks",
17 "discover_feature": "market_movers",
18}
19
20
21run = client.actor("saswave/etoro-scraper").call(run_input=run_input)
22
23
24print("πΎ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
25for item in client.dataset(run["defaultDatasetId"]).iterate_items():
26 print(item)
27
28