Giter VIP home page Giter VIP logo

instagram-bot-1's Introduction

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;


instagram-bot-1's People

Contributors

alpdias avatar

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.