Giter Site home page Giter Site logo

ericmil87 / instabotai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imsujan276/instagram-scraper-with-autopost

0.0 0.0 0.0 809 KB

Instagram AI bot with face detection. It works without instagram api, need only login and password.

Home Page: https://instabotai.com

License: Apache License 2.0

Dockerfile 0.18% Python 99.51% HTML 0.31%

instabotai's Introduction

image


PyPI version Telegram Chat Build Status Python 2.7, 3.5, 3.6, 3.7

InstabotAi

Instabotai is an instagram bot with face detection that uses the undocumented Web API. Instabotai can reupload photo to feed, reupload photo to stories, watch stories, comment, like and DM users if a face is detected on image. Unlike other bots, Instabotai does not require Selenium or a WebDriver. Instead, it interacts with the API over simple HTTP Requests. It runs on most systems.

Demo:

https://www.instagram.com/japanheaven

Requirements

  • Python 3.6+
  • Min 20-30 Profiles to scrape or it will repost same image when no new image is posted in list.

Installation with PIP

Install instabotai with:

pip install -U instabotai

Run instabotai with:

instabotai -u yourusername -p password -l josephineskriver,wolfiecindy -t "#like4like#follow4follow"

Installation with Docker

docker pull reliefs/instabotai

docker run reliefs/instabotai -u username -p password -l josephineskriver,wolfiecindy -t "#tag1#tag2"

Face detection at work on a live webcam

image

This script scrapes images from users and then repost, like and comment their images if face is detected with your own tags.

For GUI:

Run

python gui.py

image

To install script on Windows:

Install Cmake

download link : https://github.com/Kitware/CMake/releases/download/v3.14.1/cmake-3.14.1.zip

Install Dblib

Download dlib ‘.wheel’ file as ur system requirnment (use link bellow) download link : https://pypi.python.org/simple/dlib/

Open cmd navigate to dlib wheel file path and hit command
pip install dlib_file_name.wheel

Then run

git clone https://github.com/instagrambot/instabotai.git --recursive
cd instabotai/
pip install -r requirements.txt
python example.py -u yourusername -p password -l josephineskriver,wolfiecindy -t "#like4like#follow4follow"

And press Enter.

To install script on Linux:

Ubuntu:
apt-get install python-dev python3-dev
sudo apt install g++
sudo apt install cmake
sudo apt install python3-pip

Arch Linux:
sudo pacman -S cmake
sudo pacman -S python3-pip

First, make sure you have dlib already installed with Python bindings:

Then do

git clone https://github.com/instagrambot/instabotai.git

cd instabotai

sudo pip install -r requirements.txt

python example.py -u yourusername -p password -l josephineskriver,wolfiecindy -t "#like4like#follow4follow"

Troubleshoot

If you are getting Illegal Instruction with face_recognition follow this guide: ageitgey/face_recognition#11 (comment)

AttributeError: 'module' object has no attribute 'face_recognition_model_v1'

Solution: The version of dlib you have installed is too old. You need version 19.7 or newer. Upgrade dlib.

For Dlib install error run

python3 setup.py install --no DLIB_USE_CUDA

Cmake path is not found

http://tulip.labri.fr/TulipDrupal/?q=node/1081

instabotai's People

Contributors

madshansens avatar steffanjensen 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.