An Instagram bot that replies to DMs with direct links to the downloadable media
Code behind _insta.downloader_
- Posts (photo, video and slides)
- Stories (photo and video)
- Reels
- IGTVs
- Profiles (user icon)
The bot will reply anyway even if the media isn't supported
Just send posts, stories, or any other supported media type by DM to _insta.downloader_
- Clone the repo
- Install requirements (
pip install -r requirements.txt
) - Edit
creds.json
with valid credentials to your bot account - Edit
config.json
to your liking (I suggest you only changeinbox_refresh_delay
,inbox_limit
,admin_usernames
andadmin_command_prefix
) - Run
main.py
with Python
- Python 3.8
- requests (
pip install requests
) - urllib3 (
pip install urllib3
)
- requests (
Huge thanks to Instaloader, I did get a big chunk of the auth from there.