Skip to content

can not scrap channel members #44

@imedianet

Description

@imedianet

File "g:\Tekegram scraper\full tools\scraper.py", line 104, in
for member in c.iter_participants(group, filter=ChannelParticipantsAdmins):
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\requestiter.py", line 87, in next
return self.client.loop.run_until_complete(self.anext())
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\requestiter.py", line 74, in anext
if await self._load_next_chunk():
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\chats.py", line 202, in _load_next_chunk
self.total = (await self.client(functions.channels.GetParticipantsRequest(
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "C:\Users\ALKABTIN\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\client\users.py", line 83, in _call
result = await future
telethon.errors.rpcerrorlist.ChatAdminRequiredError: Chat admin privileges are required to do that in the specified chat (for example, to send a message in a channel which is not yours), or invalid permissions used for the channel or group (caused
by GetParticipantsRequest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions