A powerful Telegram bot that allows users to download Instagram posts, reels, and videosβeven splitting large videos into parts compatible with Telegram's file size limits.
- β Download public Instagram posts, reels, and videos
- π Split large videos into parts to bypass Telegramβs 50MB limit
- π₯ Queue system to manage multiple user downloads
- β Download cancellation support
- π§ Threaded downloads for better performance
- π User-specific download session management
- Python 3.7+
- FFmpeg installed and available in system path
Install required packages with:
pip install instaloader pyTelegramBotAPIEdit the API_TOKEN in the Python script:
API_TOKEN = "<YOUR_API_TOKEN>"You can get this token from BotFather on Telegram.
git clone https://github.com/s4rrar/igbot.git
cd igbotpython igbot.pyIt will automatically install missing dependencies and start the bot.
/startor/helpβ Show usage instructions/ig <Instagram URL>β Start downloading content/cancelβ Cancel an active download/queueβ Check your position in the waiting queue
- Only public content is supported (no login or private account access).
- The bot automatically splits videos larger than 50MB for Telegram delivery.
- If concurrent download slots are full, the user is added to a waiting queue.
- Stories are not supported without login due to Instagram restrictions.
- Telegram: @s4rrar
This project is for educational purposes only. Usage of this tool to download content you donβt own or have permission to access may violate Instagramβs Terms of Service.
