Skip to content

alpdias/instagram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

176 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python bot para usar com o Instagram

Python bot para ver stories, curtir e comentar fotos no Instagram, usando webdrivers e scranping.

❗❗ Adicionado uma nova função para enviar diversos comentarios em fotos de sorteio ❗❗

  • Script para curtir: 100% - Atualizado (12/11/2020)
  • Script para curtir e comentar: 100% - Atualizado (12/11/2020)
  • Script para ver stories: 100% - Atualizado (12/11/2020)
  • Script para sorteio: 100% - Atualizado (12/11/2020)

Python 3.8.0
Geckodriver v0.26.0
Codificação: -∗- coding: utf-8 -∗-
en-US

bot-insta


Execução:

  • Tenha o Python 3 ou superior instalado na mĂĄquina;

  • Instale os mĂłdulos Python;

  • Para começar e executar o cĂłdigo entre no diretĂłrio geckodriver e escolha o diretĂłrio referente ao seu sistema e descompacte o programa "geckodriver";

  • Execute o comando no terminal: python botInstagram.py;

  • A entrada 'delay' Ă© o tempo em segundos para o carregamento das pĂĄginas (com uma boa internet use: 2).


MĂłdulos Python

pip install selenium
pip install pyfiglet


ObservaçÔes:

  • Caso apresente algum erro ao rodar o script, antes de abrir uma 'Issues' execute o script 'botError.py' para verificar o erro de forma mais especĂ­fica e assim facilitar a resolução do seu problema.

  • O tempo de execução da função de 'comentĂĄrios' vai variar entre 6 a 7 minutos, devido a polĂ­tica do instagram sobre mesmas funçÔes que sĂŁo executadas repetitivamente, as demais funçÔes sĂŁo executadas de acordo com a entrada 'delay';

  • Ao executar a função para ver 'stories', caso o primeiro item seja uma 'live' ele nĂŁo vai ser executado e apresentarĂĄ um erro (trabalhando nessa parte);

  • As pausas de tempo dadas dentro do cĂłdigo vĂŁo variar de acordo com sua conexĂŁo de internet, observe tambĂ©m a polĂ­tica do instagram sobre curtidas e comentĂĄrios por hora e dia, atente-se a isso para que nĂŁo ocorra erros e para manter sua conta sem bloqueios;


Python bot to use with Instagram

Python bot to view stories, like and comment on photos on Instagram, using webdrivers and scranping.

❗❗ Added a new function to send several comments in pictures of the draw ❗❗

  • Script to like: 100% - Updated (2020/11/12)
  • Script to like and comment: 100% - Updated (2020/11/12)
  • Script to see stories: 100% - Updated (2020/11/12)
  • Script to draw: 100% - Updated (2020/11/12)

Python 3.8.0
Geckodriver v0.26.0
Coding: -∗- coding: utf-8 -∗-
en-US

bot-insta


Execution:

  • Have Python 3 or higher installed on the machine;

  • Install Python modules;

  • To start and run the code enter the geckodriver directory and choose the directory for your system and unzip the "geckodriver" program;

  • Run the command in the terminal: python botInstagram.py;

  • The 'delay' entry is the time in seconds for the pages to load (with good internet use: 2).


Python modules

pip install selenium
pip install pyfiglet


Notes:

  • If there is an error when running the script, before opening an 'Issues' run the script 'botError.py' to check the error more specifically and thus facilitate the resolution of your problem.

  • The execution time of the 'comments' function will vary between 6 to 7 minutes, due to the instagram policy on the same functions that are executed repeatedly, the other functions are executed according to the 'delay' entry;

  • When executing the function to see 'stories', if the first item is a 'live' it will not be executed and will present an error (working on that part);

  • The time breaks given within the code will vary according to your internet connection, also observe the instagram policy on likes and comments by hour and day, pay attention to this so that there are no errors and to keep your account without locks;