Code Monkey home page Code Monkey logo

instabot's Introduction

N|Solid

InstaBot - Python: Selenium + Scrapy

Guide Language / Idioma do Guia:

The bot works 100% in Portuguese and English!
O bot funciona 100% em Português e Ingles!

What he does?

Bot to automate likes and comments using Selenium and Scrapy!

  • Just Like photos.
  • Just Comment on photos.
  • Like and Comment on photos.
  • It has 3 search modes.
    • Hashtags.
    • Followers of a profile.
    • Locations.
  • It has a sub-mode that searches for Twitter Trending Topics and Hashtags in Brazil.(Improving)

I intend to add more features and build a graphical interface in the future!

Bot Performance!

  • I created an account, put some photos and followed some groups of bands, games, etc ...

  • So far, with 8 days of use, the account has left ZERO and has:

    • 205 Followers.
    • 711 Likes on the photos.
    • 30 comments on photos.
    • More than 30 DM's.

  • Bot has been running on this account since September 11th. (8 days of use)
  • I'm running the Bot for 6-8 hours a day.
  • Use in "comment + like" mode on profile followers.
  • To interact with the last 120 followers of the profile, I look for profiles that have an average of 15 to 50 thousand followers. (profiles with more than 100,000 followers are good, but tend to have a lot of fake accounts ...)
  • I select profiles that have a niche similar to my instagram account profile.

N|Solid


O que é?

Bot para automatizar curtidas e comentários usando Selenium e Scrapy!

  • Apenas Curtir fotos.
  • Apenas Comentar em fotos.
  • Curtir e Comentar em fotos.
  • Possui 3 modos de busca.
    • Hashtags.
    • Seguidores de um perfil.
    • Locais.
  • Possui um sub-modo que busca por Trending Topics e Hashtags do twitter no Brasil.

Pretendo adicionar mais funcionalidades e construir uma interface gráfica futuramente!

Desempenho do Bot!

  • Criei uma conta do zero, coloquei algumas fotos e segui alguns grupos de bandas, jogos, etc...

  • Até o momento, com 8 dias de uso, a conta saiu do ZERO e está com:

    • 205 Seguidores.
    • 711 Likes nas fotos.
    • 30 comentários em fotos.
    • Mais de 30 mensagens no Direct.

  • O Bot está rodando nesta conta desde o dia 11 de setembro. (8 dias de uso)
  • Estou rodando o Bot de 6-8h por dia.
  • Utilizo no modo "comentar + curtir" em seguidores de perfis.
  • Para interagir com os últimos 120 seguidores do perfil, procuro por perfis que tem em média 15 a 50 mil seguidores. (perfis com mais de 100 mil seguidores são bons, mas costumam ter muitas contas fake...)
    • Seleciono perfis que tem um nicho parecido com o perfil da minha conta do instagram.

N|Solid

instabot's People

Contributors

drbuche avatar gpedro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

instabot's Issues

cli command

commands:

  • run

    • options:
      • language (-l): pt, en
      • browser-language (-bl): pt, en
      • modes (-m): like, comment, both (like and comment)
      • discovery (-d): hashtags, twitter-top5, profiles
      • hashtags (-t): list of hashtags comma separated
      • hashtags-file (-tf): use file as hashtags
      • profiles (-p): list of profiles comma separated
      • profiles -file: (-pf): use file as profiles
      • comments-file (-cf): use file as comments
      • username (-U)
      • password (-P)
      • verbose (-v)
  • generate-top5

    • no options (maybe output directory?)

suggestion:

Likes

Os likes nao estao funcionando, apenas os comentários funcionam.. mas parece que desaparecem ao fim de uns segundos..

Where define chromedriver?

Hi,

when i run the main script I revieved following error:

line 83, in start
    os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

Where can I set the Path to the chromedriver?

Add support to maintain user session between logins.

Every time I run the bot, it will login again. We cant store the session in bot but we can use Browser Profiles. Attach selenium to a Profile when loading the driver. While tinkering around the code, what I did was remove all the login logic and login to instagram via Firefox browser then provide the profile to selenium and it worked without giving anything and reused the session however for some reason the session is not maintained if I login from selenium and use a profile. But it would a good addition and less creepy I think.

Also have you thought whether Selenium can be detected by instagram Servers etc? The browser shows that it is being controlled, I wonder if the website can also take that info and send it to instagram?

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.