Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

Monitor instagram user account and automatically post new images to discord channel via a webhook.

License

Notifications You must be signed in to change notification settings

LLinoor/Instagram-to-discord-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instagram-to-discord-1

This script executes 3 actions:

  1. Monitors for new image posted in a instagram account.
  2. If found new image, a bot posts new instagram image in a discord channel.
  3. Repeat after set interval.
Changelog (basic vs fork) :

  • Add multi-user support
  • File support
  • Improved embed
  • Bypass instagram's anti-bot security
  • Sends all the photos and videos that have been published during the interval (example: if the user sends 3 photos in the same minute, the bot will send the 3 photos)
  • Detection of a video
  • Ignore the 1st verification
  • Minor changes (optimization of functions, removal of comments, useless dependencies and environment variables, reduction of the verification interval, ...)

Requirements:

  • Python v3
  • requests (pip install requests or pip3 install requests)

Usage:

Variable settings:

  • In the "users.txt" file :

    • Put the usernames of all the Instagram accounts you want to monitor (respect the list formatting)
  • In the script :

    • Set WEBHOOK_URL to Discord Webhook URL. To know how, just Google: "how to create webhook discord".
    • Set TIME_INTERVAL to the time in seconds in between each check for a new post. Example: 1.5, 600 (default=300)

Collaborations:

Collaborations to improve script are always welcome.

About

Monitor instagram user account and automatically post new images to discord channel via a webhook.

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%