A simple telegram bot that can download videos from Twitter and send them to you.
These instructions will get you a copy of the bot up and running on your Ubuntu machine for development and testing purposes.
- A telegram account and bot token
- Python 3.10 installed on your system
These steps will guide you to deploy the bot on an Ubuntu VPS
-
Update the system
sudo apt-get update
-
Install python and pip
sudo apt-get install python3 python3-pip
-
Clone the repository
https://github.com/hemanth-narra/TwitterBot.git
-
Install the required packages
pip3 install -r requirements.txt
-
Edit sample_config.py with your values and save as config.py
-
Finally run the bot
python3 bot.py
- Pyrogram - The MTProto API framework for Telegram
- youtube-dl - A command-line program to download videos from YouTube.com and a few more sites
Feel free to create a pull request or issue if you have any suggestions or bugs to report.
This project is licensed under the MIT License - see the LICENSE file for details.