Skip to content

An automated service running on a Virtual Machine that can be used to download all types of Instagram media files and store them in a Discord channel

Notifications You must be signed in to change notification settings

el3mentry/EasyGramFetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

To download all types of Instagram media objects on request from the user, just by sharing the post to an account, and store them in a Discord server in the fastest way possible.

Pipeline

(PLEASE CHECK THE WIKI FOR DETAILED STEPS ON SETTING UP THE SERVICE : WIKI)

  • user sends an Instagram media object using the share / direct button to a IG business account, account receives the post as a message and is configured to send the received message from the user as a POST request to a domain connected to a Virtual Machine. The IG account is configured by setting up an app in developers.facebook.com.
  • message is received by the apache2 server actively running on the VM, which redirects all traffic to a NodeJS server.
  • the NodeJS server parses the message and extracts the permalink from it. (and other useful information).
  • the permalink is then redirected to a Python Flask server which employs another Instagram account which operates as a bot to properly access the permalink and run instructions to scrape the media source URL.
  • media file is generated from the scraped source URL.
  • using the Discord Webhook integration which gives a URl for a text channel in a Discord server, the generated file is then posted to the channel.

About

An automated service running on a Virtual Machine that can be used to download all types of Instagram media files and store them in a Discord channel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published