DL-Telegram-by-file-attachment
DL-Telegram-by-file-attachment copied to clipboard
Download documents by terms looking in a Telegram channel
DL-Telegram-by-file-attachment
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.
Installation & Use
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 download -
filter
allows you to filter the file type to download -
download
is the folder where the downloads are stored
To use the tool simply run downloader.py
.