Skip to content

Python script for automated downloading of files uploaded to Telegram groups and notifying users via Pushover.

License

Notifications You must be signed in to change notification settings

alenperic/Telegram-Auto-Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram-Auto-Downloader

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.

Features

  • Monitors a specified Telegram group for new files.
  • Downloads new files to a predefined location.
  • Sends a Pushover notification upon successful download.

Installation

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

Configuration

  1. Telegram API Credentials: Obtain your api_id and api_hash from Telegram's developer portal.

  2. Pushover Credentials: Obtain your pushover_user_key and pushover_api_token from Pushover's website.

  3. Download Location: Specify the path where you want the downloaded files to be saved in the script.

Usage

Update the script with your credentials and desired download location. Run the script using:

python TeleMonitor.py

Important Notes

  • 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.

Contributing

Contributions to this project are welcome! Please fork the repository and submit a pull request with your changes.

License

This project is licensed under MIT License.

Contact

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.

About

Python script for automated downloading of files uploaded to Telegram groups and notifying users via Pushover.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages