Skip to content

A python script to download and archive visual images from the specified Telegram chats.

License

Notifications You must be signed in to change notification settings

sakiz01/Telegram-Image-Archiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Image Archiver

A simple script to download and archive images in the specified chats as in the directory tree format below. It detects the last run date and only performs an incremental download by saving the images posted after the last time it was run. It also has some options you can specify according to your needs.

  • home_dir/
    • chat_1/
      • YYYY-MM-DD/
        • image1.jpg
        • image2.jpg
        • ...
      • ...
    • chat_2
      • YYYY-MM-DD/
        • image1.jpg
        • image2.jpg
        • ...
      • ...
    • ...

Requirement:

In the script, Telethon library is used To interact with Telegram’s API. To install Telethon:

pip3 install telethon 

How to run:

First, make sure you specified the API ID, API key and options accordingly. After that, to run Telegram Image Archiver:

python3 TIA.py 

About

A python script to download and archive visual images from the specified Telegram chats.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages