Closed sova32 closed 1 year ago
Traceback (most recent call last):
File "/storage/emulated/0/TelScrapper/ScrapperUpdate/Scrapper.py", line 88, in
remove aggressive=True
from scraper.py
because telethon have removed this argument.
Thank you and Happy New Year!
пт, 30 дек. 2022 г. в 16:32, Dhruv Jagdish @.***>:
remove aggressive=True from scraper.py because telethon have removed this argument.
— Reply to this email directly, view it on GitHub https://github.com/AbirHasan2005/TelegramScraper/issues/25#issuecomment-1367948863, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS2VUXUKEB4MCM4F2GNNAR3WP3W6JANCNFSM5WUCEM4A . You are receiving this because you authored the thread.Message ID: @.***>
Traceback (most recent call last): File "scraper.py", line 85, in
all_participants = client.get_participants(target_group, aggressive=True)
File "/run/media/vadiki/D_238_GB_WD/Projects/python/Telegram_chat_user_dumper/env/lib64/python3.8/site-packages/telethon/sync.py", line 39, in syncified
return loop.run_until_complete(coro)
File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/run/media/vadiki/D_238_GB_WD/Projects/python/Telegram_chat_user_dumper/env/lib64/python3.8/site-packages/telethon/client/chats.py", line 507, in get_participants
return await self.iter_participants(*args, **kwargs).collect()
File "/run/media/vadiki/D_238_GB_WD/Projects/python/Telegram_chat_user_dumper/env/lib64/python3.8/site-packages/telethon/requestiter.py", line 113, in collect
async for message in self:
File "/run/media/vadiki/D_238_GB_WD/Projects/python/Telegram_chat_user_dumper/env/lib64/python3.8/site-packages/telethon/requestiter.py", line 74, in anext
if await self._load_next_chunk():
File "/run/media/vadiki/D_238_GB_WD/Projects/python/Telegram_chat_user_dumper/env/lib64/python3.8/site-packages/telethon/client/chats.py", line 222, in _load_next_chunk
results = await self.client(self.requests)
File "/run/media/vadiki/D_238_GB_WD/Projects/python/Telegram_chat_user_dumper/env/lib64/python3.8/site-packages/telethon/client/users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "/run/media/vadiki/D_238_GB_WD/Projects/python/Telegram_chat_user_dumper/env/lib64/python3.8/site-packages/telethon/client/users.py", line 80, in _call
raise MultiError(exceptions, results, requests)
telethon.errors.common.MultiError: ([FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), None, FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), None, FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), None, FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)'), FloodWaitError('A wait of 30 seconds is required (caused by GetParticipantsRequest)')], [None, None, <telethon.tl.types.channels.ChannelParticipants object at 0x7f82c18d76d0>, None, <telethon.tl.types.channels.ChannelParticipants object at 0x7f82c18cc2b0>, None, None, <telethon.tl.types.channels.ChannelParticipants object at 0x7f82c18c12e0>, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None], [<telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baca90>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bacb50>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bacc10>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baccd0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bacd90>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bace50>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bacf10>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bacfd0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf0d0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf190>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf250>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf310>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf3d0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf490>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf550>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf610>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf6d0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf790>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf850>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf910>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1baf9d0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bafa90>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bafb50>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bafc10>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bafcd0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x7f82c1bafd90>])
(env) vadiki@localhost:/run/media/vadiki/D_238_GB_WD/Projects/python/Telegram_chat_user_dumper/TeleGram-Scraper>