Releases: dfwdfq/DCT
Releases · dfwdfq/DCT
1.0
Telegram Channel Dumper (dtc)
A CLI tool to list and dump Telegram channel data, including messages, replies, and attached photos.
✨ Key Features
- List channels: View all joined Telegram channels interactively.
- Dump channels: Save full message history, replies, and photos to disk.
- Media support: Automatically download attached images to a specified folder.
- Session reuse: Avoid re-login by reusing existing
.session
files. - Structured output: Messages saved in JSONL format for easy parsing.
- Rate limiting: Built-in delays to respect Telegram API limits.
⚙️ Usage Example
./dtc.py <api_id> <api_hash> --session my_session --media media --output output.jsonl
>> list
>> dump 0 # Dumps the first channel in the list
📦 Requirements
- Python 3.8+
telethon
,pandas
,tabulate
(install viapip install -r requirements.txt
)
🛡️ Notes
- Supports session management to avoid repeated logins.
- Handles FloodWaitError gracefully with retry logic.
- Stores media in organized paths:
media/{channel_id}_{msg_id}.jpg
.
Perfect for archiving, analysis, or backup of Telegram channel data.