GithubHelp home page GithubHelp logo

telegram-collector's Introduction

First start.

At the first start you will be asked to enter the confirmation code and password (if two-factor authorization is active).

An example is shown below:

Auth Demo

Second start.

With further launches, this is not required.

An example is shown below:

Auth Demo

Telethon version:

Telethon (0.15.4.3)  - Full-featured Telegram client library for Python 3
  INSTALLED: 0.11.5
  LATEST:    0.15.4.3
Installation: pip install telethon==0.11.5

Results will be saved into file users.txt.

telegram-collector's People

Contributors

ypankovych avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

telegram-collector's Issues

ChannelParticipantsSearch

Connecting...
Process...
Traceback (most recent call last):
File "collector.py", line 77, in
main()
File "collector.py", line 73, in main
dump_users(get_chat_info(channel_name, client), client)
File "collector.py", line 41, in dump_users
chat_object, ChannelParticipantsSearch(''), offset, limit
TypeError: init() missing 1 required positional argument: 'hash'

Pars online usres.

Hello! Thank you for creating that parser. Can i add something to grab information about online only users in chat?

Not work channel

Hi! Thx nice collector!

Connecting...
Process...
Traceback (most recent call last):
  File "collector.py", line 77, in <module>
    main()
  File "collector.py", line 73, in main
    dump_users(get_chat_info(channel_name, client), client)
  File "collector.py", line 41, in dump_users
    chat_object, ChannelParticipantsSearch(''), offset, limit
  File "/usr/local/lib/python3.5/dist-packages/telethon/telegram_bare_client.py", line 458, in __call__
    result = self._invoke(sender, call_receive, *requests)
  File "/usr/local/lib/python3.5/dist-packages/telethon/telegram_bare_client.py", line 516, in _invoke
    raise next(x.rpc_error for x in requests if x.rpc_error)
telethon.errors.rpc_errors_400.ChatAdminRequiredError: (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).')

With chats there are no problems. And with any channel problems. Why chats do not require additional privileges and channels require?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.