Skip to content

Instantly share code, notes, and snippets.

View nimaai's full-sized avatar

Matus Kmit nimaai

  • www.zhdk.ch
  • Zurich
View GitHub Profile
@lgg
lgg / README.md
Last active February 2, 2024 17:55
Telegram save all media from chat/user/channel

Quick tip. It is possible to download media with small python script.

Goto https://my.telegram.org and generate api id and api hash Install Telethon library with pip3 install telethon Run saveAllMedia.py (replace api_id, api_hash and username with your values).

If you need proxy install https://github.com/Anorov/PySocks pip install PySocks

This code downloads all media from the dialog with username user/chat/channel in current directory.