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.
Just copy and rename config-sample.ini
to config.ini
and set as you need.