Download sticker packs from Telegram
Project description
TStickers - Telegram Sticker Downloader
Download sticker packs from Telegram
NOTE: You need a telegram bot token to make use of the script. Generate a bot token and paste in a file called 'env'. Send a message to @BotFather to get started.
- Docs
- Using
- Formats
- Documentation
- Install With PIP
- Language information
- Install Python on Windows
- Install Python on Linux
- How to run
- Download Project
- Community Files
Docs
See the Docs for more information.
Using
- Create a file called 'env' (or env.txt) and paste your token
- Get the URL of the telegram sticker pack
- Run the program
python -m tstickers
- Enter the URL of the sticker pack
- Get the output in the
downloads
folder.
Formats
Format | Static | Animated |
---|---|---|
.gif | ✔ | ✔ |
.png | ✔ | ✔+ |
.tgs | ❌ | ✔ |
.webp | ✔ | ✔ |
+ First frame of animated image only
Note that static images can fail to save as .gif occasionally in testing
Documentation
See the Docs for more information.
Install With PIP
pip install tstickers
Head to https://pypi.org/project/tstickers/ for more info
Language information
Built for
This program has been written for Python 3 and has been tested with Python version 3.9.0 https://www.python.org/downloads/release/python-380/.
Install Python on Windows
Chocolatey
choco install python
Download
To install Python, go to https://www.python.org/ and download the latest version.
Install Python on Linux
Apt
sudo apt install python3.9
How to run
With VSCode
- Open the .py file in vscode
- Ensure a python 3.9 interpreter is selected (Ctrl+Shift+P > Python:Select Interpreter > Python 3.9)
- Run by pressing Ctrl+F5 (if you are prompted to install any modules, accept)
From the Terminal
./[file].py
Download Project
Clone
Using The Command Line
-
Press the Clone or download button in the top right
-
Copy the URL (link)
-
Open the command line and change directory to where you wish to clone to
-
Type 'git clone' followed by URL in step 2
git clone https://github.com/FHPythonUtils/TStickers
More information can be found at https://help.github.com/en/articles/cloning-a-repository
Using GitHub Desktop
- Press the Clone or download button in the top right
- Click open in desktop
- Choose the path for where you want and click Clone
More information can be found at https://help.github.com/en/desktop/contributing-to-projects/cloning-a-repository-from-github-to-github-desktop
Download Zip File
- Download this GitHub repository
- Extract the zip archive
- Copy/ move to the desired location
Community Files
Licence
MIT License Copyright (c) FredHappyface (See the LICENSE for more information.)
Changelog
See the Changelog for more information.
Code of Conduct
Online communities include people from many backgrounds. The Project contributors are committed to providing a friendly, safe and welcoming environment for all. Please see the Code of Conduct for more information.
Contributing
Contributions are welcome, please see the Contributing Guidelines for more information.
Security
Thank you for improving the security of the project, please see the Security Policy for more information.
Support
Thank you for using this project, I hope it is of use to you. Please be aware that those involved with the project often do so for fun along with other commitments (such as work, family, etc). Please see the Support Policy for more information.
Rationale
The rationale acts as a guide to various processes regarding projects such as the versioning scheme and the programming styles used. Please see the Rationale for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tstickers-2021.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7651c8d09326a8b6ddc982b7559f9e61fc81413bbca525969572ab1c9d2a521a |
|
MD5 | cdf7cdb7776db32ce377b1189167ea84 |
|
BLAKE2b-256 | 826b6b46194e4229d5f45a751c8b4760187651058bdb4065f578e64e3bcae589 |