Abandoned, looking for contributors as I am not using it anymore. Check https://github.com/Dineshkarthik/telegram_media_downloader.
This tool automatically download a file (document) from a Telegram channel based on terms to search on.
The service used to get Telegram content has a RPM limit of 15 requests per minute but the script can check if the file is already present and not download it again.
Make sure to have Python3 installed on your system: you can follow the instruction to get it straight from the Python website.
Clone this repository and rename config-sample.ini
to config.ini
then open the renamed file and change the configuration as you wish.
The parameters you can set are:
name
is the channel name you want to download from (only the name, not the whole URL)pages
is the number of pages to search for documents to downloadfilter
allows you to filter the file type to downloaddownload
is the folder where the downloads are stored
To use the tool simply run downloader.py
.