Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not scrap channel members #44

Open
imedianet opened this issue Jun 7, 2023 · 0 comments
Open

can not scrap channel members #44

imedianet opened this issue Jun 7, 2023 · 0 comments

Comments

@imedianet
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant