This Python script automates the downloading of new data (files, images, videos, etc.) posted to a specific Telegram group. It uses the Telethon library to interact with Telegram's API. Additionally, it sends a notification via Pushover API whenever a file is downloaded.
- Monitors a specified Telegram group for new files.
- Downloads new files to a predefined location.
- Sends a Pushover notification upon successful download.
Clone the repository to your local machine:
git clone https://github.com/alenperic/Telegram-Auto-Downloader && cd Telegram-Auto-Downloader
Install the required packages:
pip install -r requirements.txt
-
Telegram API Credentials: Obtain your
api_id
andapi_hash
from Telegram's developer portal. -
Pushover Credentials: Obtain your
pushover_user_key
andpushover_api_token
from Pushover's website. -
Download Location: Specify the path where you want the downloaded files to be saved in the script.
Update the script with your credentials and desired download location. Run the script using:
python TeleMonitor.py
- Ensure you have the necessary permissions to access and download content from the Telegram group.
- Respect user privacy and comply with Telegram's terms of service.
- Using the script to download copyrighted or sensitive content without permission may violate legal and ethical standards.
Contributions to this project are welcome! Please fork the repository and submit a pull request with your changes.
This project is licensed under MIT License.
For any queries or assistance, feel free to open an issue in this repository.
Disclaimer: This script is for educational purposes only. The author is not responsible for any misuse or violation of Telegram's terms of service.