Giter VIP home page Giter VIP logo

autonicgram's Introduction

Autonicgram

Automates your Instagram posts by taking images from sites like 9gag or other Instagram accounts and posting it onto your page.

Features

  • Adjustable interval between posts
  • Original captions/title as post captions
  • Multiple 9gag categories
  • Log into Instagram with Facebook credentials
  • Duplicate post prevention
  • Get Instagram users past photos and add to queue
  • Max post limit
  • Listens for new images
  • Automatically resizes images to fit Instagram
  • Simulates real clicking

Installation

Clone :

git clone https://github.com/HenryAlbu/auto-Instagram-posting-bot.git

Directory :

cd auto-Instagram-posting-bot

Requirements :

pip install -r requirements.txt

Selenium chromedriver. Download & drag and drop it into the directory.

Running

Execute : python app.py

File structure

Files/Folders Description
app.py The main file for the project contains the UI and connections calls the other files. (Run this file)
insta.py Contains the functions and steps that sign you into Instagram. Also contains the Selenium driver options
ninegag.py Contains the functions to download and queue up 9gag posts
settings.py Contains the global variables
insta_scraper.py Contains the functions to download and queue up scrapped Instagram posts from selected user
filesCheck.txt (created on initial run) Contains the id's of images that have been downloaded to prevent duplicate uploads (keeps the last 50 id's)
filesDict.json (created on initial run) When images are downloaded they are given an id's and put into this JSON file that acts as the queue
images (folder) (created on initial run) Where the images are downloaded to.

UI - PySimpleGUI

https://github.com/PySimpleGUI/PySimpleGUI

Limitations

Currently, the bot only uploads images. This is due to the fact that it is using Selenium to interact with the Instagram web interface. The Instagram interface only allows for uploads of images. (currently looking into a way around this)

Caution

This project uses Selenium. What this means is that it does not use the Instagram API for posting, making Instagram think that it's a real user posting, BUT You should still be cautious by setting a reasonable wait time before posts. By default, this is set at 50 seconds. If you set it to something like 10 seconds, there is a chance that Instagram will notice bot activity.

TODOs

  • Adding Imgur.com to the list of options to take images

  • Ability to add your own files to queue. Kind of like those sites that charge you to schedule Instagram posts.

  • Figuring out how to get videos to upload

[ Developer : Mastermindx33 ]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.