TelegramExporter icon indicating copy to clipboard operation
TelegramExporter copied to clipboard

Python script for exporting data from your telegram account.

Telegram Exporter

Python script for exporting data from your telegram account

Features:

  • Phone and code telegram authentication
  • Export your dialogs
  • Export your audios
  • Export your photos
  • Support skipping media from channels

Usage:

export.py --number NUMBER [--help] [--clear] [--photos] [--audios] [--full] [--include-channels]

Arguments:

Long Short Description
--help -h Show help message
--number NUMBER -n NUMBER Telephone number
--clear -c Clear directory before exporting
--photos -p Export photos
--audios -a Export audios
--full -f Export everything
--include-channels -i Export media from channels

Third-party libraries:

  • Telethon - Pure Python 3 MTProto API Telegram client library.
  • PySocks - A SOCKS proxy client and wrapper for Python.
  • pyaes - Pure-Python implementation of AES block-cipher and common modes of operation.
  • async_generator - Async iterators in Python 3.5.
  • pyasn1 - Generic ASN.1 library for Python.
  • rsa - Python-RSA is a pure-Python RSA implementation.