1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "targets": [
9 "@telegram",
10 "https://t.me/durov",
11 "@BotNews",
12 "@TelegramTips",
13 "@tginfo",
14 "@apify",
15 "@github",
16 "@bitcoin",
17 "@ethereum",
18 "@binance_announcements",
19 "@coinbase",
20 "@notcoin",
21 "@toncoin",
22 "@fragment",
23 "@wallet_news",
24 "@QuizBot",
25 "@Stickers",
26 "@like",
27 "@vote",
28 "@gamee",
29 "@BotFather",
30 "@SpamBot",
31 "@PremiumBot",
32 "@DurgerKingBot",
33 "@ControllerBot",
34 "@IFTTT",
35 "@GmailBot",
36 "@YouTube",
37 "@Twitter",
38 "@Instagram",
39 "@Facebook",
40 "@WhatsApp",
41 "@CryptoBot",
42 "@wallet",
43 "@Tribute",
44 "@LivegramBot",
45 "@Manybot",
46 "@Combot",
47 "@DiscussBot",
48 "@GroupHelpBot",
49 ] }
50
51
52run = client.actor("maximedupre/telegram-info-scraper").call(run_input=run_input)
53
54
55print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
56for item in client.dataset(run["defaultDatasetId"]).iterate_items():
57 print(item)
58
59