/telegram-tracker

Track Telegram messages and save them

Primary LanguagePython

Telegram Tracker

Track and save Telegram channel messages into database. This project's core is completely based on Amir Yousefi's Telegram Analysis.

Preparation

Configuration

Channels

  • Create a Mongo collection named channels
  • Find channel ids to tracker. Channel id should be a number with length of 10.
  • Add channel ids into channels collection (e.g. { "id": 1234567890 }).

Task

  • Run python . script
  • Authenticate telegram from python console (one time)
  • A Mongo collection named histories will be created.
  • Script can be re-run anytime.
  • Getting all messages from new channel may take long according to number of messages.
  • Getting new messages from existing channel should take average of 1 second.

To Do

  • Unit Test