TGStickerDownloader is a Python script that allows you to download all stickers from a Telegram sticker pack using the Telethon library.
Before using this script, ensure you have the following:
- Python installed on your system
- Telethon library installed
- A Telegram API ID and API Hash (You can obtain these from my.telegram.org)
To install the required dependencies, run:
pip install telethonYou need to input your credentials inside the settings.ini file in the root directory as follows:
[telegram]
api_id = 123456 # Replace with your API ID
api_hash = your_api_hash # Replace with your API Hash
phone = +911234567890 # Replace with your phone number linked to Telegram
[settings]
max_threads = 10 # Number of threads for downloading
wait_time = 0.5 # Delay between requests (in seconds)- Ensure your
settings.inifile is properly configured. - Run the script using:
python tg_sticker_downloader.py- Follow the prompts to authenticate with Telegram if required.
- Enter the sticker pack link or name when prompted.
- The stickers will be downloaded to a designated folder.
- Login Issues: Ensure you have entered the correct phone number and API credentials.
- Too Many Requests Error: Increase
wait_timeinsettings.ini. - Stickers Not Downloading: Verify the sticker pack name/link and check your internet connection.
Contributions are welcome! Follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name - Commit your changes:
git commit -m "Added a new feature" - Push to the branch:
git push origin feature-name - Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.