Skip to content

Bastieisendick/autoinsta_uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autoinsta_uploader

Automatic Instagram Posting Bot

This Program can be run for example via crontab once (or more) a day.
It takes a random video from data/videos/, its suiting quote from data/quotes/, a random thumbnail from data/thumbnails/ and a random text from data/texts/.

Then it uses undetected-chromedriver Selenium to log in into Instagram and proceeds to upload the previously selected data.
It uses random delays, hovering over elements and more (such as modified user agents) to prevent IG from detecting the Bot.
Also any error that might occur and upload notifications will be send to you through Telegram Bot API.

You will have to change the variables in the start of the file to your own values.
Also you need to download a suiting chromedriver and move it into the driver/ folder.

Even with all these safety measurements, I do not guarantee IG wont find out ur using a Bot.
Using this may result in bans and other desastrous actions regarding for example your Instagram Account. Hereby no guarantees or responsibilities are taken.

It is totally possible and will probably happen that IG will change its frontend interface, so it might occur that you need to change the html variables or other factors for Selenium to continue working (Maybe youll need to add another button click in the future).
But with the debugging and error logging in place, this is quite easy.

You will have to install some libraries like telebot/pyTelegramBotAPI and undetected-chromedriver.