The bot now includes automatic database migrations. When updating to a new version:
- Pull the latest code from GitHub
- Restart the bot
The UserSettingsManager will automatically:
- Check for missing columns in the database
- Add any new columns safely without affecting existing data
- Log any migration activities
No manual migration steps are required. The bot will handle all database updates automatically on startup.
High-performance Telegram bot for downloading videos from social media platforms.
- Fast and efficient video downloads
- Support for Instagram, TikTok, Pinterest, YouTube
- Automatic format optimization
- Clean and intuitive interface
- Robust error handling
- Download and run
deploy.bat
- The script will:
- Clone the repository
- Set up Python environment
- Install dependencies
- Create necessary files
- Edit
.env
file with your tokens:
TELEGRAM_BOT_TOKEN=your_bot_token
YANDEX_MUSIC_TOKEN=your_yandex_token # Optional
- Run
run.bat
to start the bot
- Download the deployment script:
wget https://raw.githubusercontent.com/RoninReilly/Zenload/main/deploy.sh
chmod +x deploy.sh
- Run the script:
./deploy.sh
The script will:
- Install required packages (python3, python3-venv, git)
- Create installation directory (/opt/zenload)
- Clone the repository
- Set up Python environment
- Install dependencies
- Create systemd service
- Prompt for your tokens
- Start the bot automatically
The bot will be installed in /opt/zenload
with proper permissions and systemd service configuration.
Optional: Add cookies/instagram.txt for enhanced Instagram functionality
To update the bot to the latest version:
- Windows: Run
deploy.bat
again - Linux: Run
./deploy.sh
again
The scripts will automatically pull the latest changes and update everything.
- Find @Zenload_bot on Telegram
- Send a video URL from supported platforms
- Receive the downloaded video
zenload/
├── src/
│ ├── bot.py # Bot core
│ ├── config.py # Configuration
│ ├── downloaders/ # Platform-specific downloaders
│ ├── handlers/ # Telegram handlers
│ └── utils/ # Utility functions
├── downloads/ # Temporary downloads
├── cookies/ # Platform cookies
└── main.py # Entry point
- Instagram (Reels, Posts)
- TikTok
- YouTube
- Yandex Music
- Asynchronous download processing
- Memory-efficient file handling
- Automatic cleanup of temporary files
- Rate limiting and spam protection
- Comprehensive error handling
This project is licensed under the MIT License - see the LICENSE file for details.