AbirHasan2005 / TelegramScraper

Using this tool you can easily add so many members from any group to your group. Less than 2 minutes. Super easy. Time saver. But this tool is only for educational purpose. You could be banned from Telegram. So be careful. Recommanded to use this tool only on Termux.
545 stars 271 forks source link

Application Fails to Complete #18

Open prague2020 opened 2 years ago

prague2020 commented 2 years ago

Unfortunately the scraper fails to complete and build the csv file.

[+] Choose a group to scrape members : [0] - Test Group [1] - Wild Whales & Icon [2] - Babhat Group

[+] Enter a Number : 2 [+] Fetching Members... Traceback (most recent call last): File "C:\Anaconda\Bot\telegram-dm-bot-master\scraper.py", line 80, in all_participants = client.get_participants(target_group, aggressive=True) File "C:\Python310\lib\site-packages\telethon\sync.py", line 39, in syncified return loop.run_until_complete(coro) File "C:\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete return future.result() File "C:\Python310\lib\site-packages\telethon\client\chats.py", line 507, in get_participants return await self.iter_participants(*args, **kwargs).collect() File "C:\Python310\lib\site-packages\telethon\requestiter.py", line 113, in collect async for message in self: File "C:\Python310\lib\site-packages\telethon\requestiter.py", line 74, in anext if await self._load_next_chunk(): File "C:\Python310\lib\site-packages\telethon\client\chats.py", line 222, in _load_next_chunk results = await self.client(self.requests) File "C:\Python310\lib\site-packages\telethon\client\users.py", line 30, in call return await self._call(self._sender, request, ordered=ordered) File "C:\Python310\lib\site-packages\telethon\client\users.py", line 80, in _call raise MultiError(exceptions, results, requests) telethon.errors.common.MultiError: ([None, None, None, FloodWaitError('A wait of 31 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 31 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 31 seconds is required (caused by GetParticipantsRequest)')], [<telethon.tl.types.channels.ChannelParticipants object at 0x0000027D7C6373A0>, <telethon.tl.types.channels.ChannelParticipants object at 0x0000027D7C637460>, <telethon.tl.types.channels.ChannelParticipants object at 0x0000027D7C5937C0>, None, None, None], [<telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000027D7C6360E0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000027D7C6366E0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000027D7C6367A0>, <telethon.tl.functions.channels.GetParticipantsRequest

Any ideas?