doGior / Telegram-Media-Downloader

A bot that will download all the media from a given Telegram chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram-Media-Downloader

This is a bot that will download all the media from a given chat.
When a media is sent to the specified chat it will be downloaded and when that
message will be deleted from the chat the file will be deleted also from the pc

Note: all the media have to be sent as document

Installation

Run this on your shell

git clone "https://github.com/doGior/Telegram-Media-Downloader"
cd Telegram-Media-Downloader
pip install -r requirements.txt

Then you have to edit the settings.py with your information and run python3 main.py on your shell

Commands

You can send text message on telegram for modifying the bot's beheavior
By default there are six commands:

  • /downloadAll --> Will download all the media from the selected chat
  • /downloadToday --> Will download all the media sen today from the selected chat
  • /downloadImages --> Will download all the Images from the selected chat
  • /downloadVideo --> Will download all the Videos from the selected chat
  • /downloadMusic --> Will download all the Audio file from the selected chat
  • /downloadWhenArrive --> Will download every media immediately when it arrive; it's True by default
  • /stopDownloadWhenArrive --> Will stop downloading every media immediately when it arrive

About

A bot that will download all the media from a given Telegram chat

License:GNU General Public License v3.0


Languages

Language:Python 100.0%