python libraries aiogram, instaloader
Instagram Video and Photo Loader This script allows you to download photos and videos from Instagram. You can simply enter the Instagram Link and it will download all photos and videos from given the Link.
Usage
- To use the script, simply run the following command: pip install -r requirements.txt
- get token from telegram BotFather
- will need your instagram username and password
- create .env
make sure you have all these
- BOT_TOKEN = bot TOKEN from BotFather
- USER = Your bot username
- PASSWORD = your instagram password
- BOT_NAME = Your bot's username
The script will prompt you to enter the Instagram username of the profile you want to download. Once you enter the username, it will download all photos and videos from the user's profile to the current working directory.
Note that the script uses the Instaloader library to download photos and videos from Instagram. You may need to authenticate with Instagram if you encounter rate limiting issues while using the script.