Giter Club home page Giter Club logo

instabot's Introduction

Disclaimer: This is a public version of my own private repository. I've chosen not to release that version because it includes a lot of instagram data and files of my own production environment like scraping timestamps. If you have any questions, feel free to contact me.

InstaBot

Instabot is a full automated instagram bot with an Telegram interface using the Telegram Bot options. The bot will automatically scrape images, post images, scrape users and follow and unfollow users. Additionally it uses machine learning and some smart techniques to select the images and create a nice instagram timeline.

The idea of this bot came from the following blogpost: https://medium.com/@chrisbuetti/how-i-eat-for-free-in-nyc-using-python-automation-artificial-intelligence-and-instagram-a5ed8a1e2a10

Setup

In the /artefacts folder, make sure the following files exist and have some values:

  1. captions.txt
  2. ig_users.txt
  3. tags.txt

where captions.txt has one caption per line, ig_users.txt has one user per line and tags.txt has one tag per line. The hashtags should include the hashtag ('#').

Train both the image model and user model. Image model training is in scrape_image_data.py, and the user model is shortly described in train_user_model.py but requires some work on your end.

instabot's People

Contributors

baukebrenninkmeijer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cucrisis

instabot's Issues

error help

myenv) PS C:\Users\Adrian\OneDrive\Bureaublad\InstaBot-public\InstaBot-public> python runner.py
Fail to import moviepy. Need only for Video upload.
Traceback (most recent call last):
File "C:\Users\Adrian\OneDrive\Bureaublad\InstaBot-public\InstaBot-public\runner.py", line 1, in
from src.scrape_image_data import *
File "C:\Users\Adrian\OneDrive\Bureaublad\InstaBot-public\InstaBot-public\src\scrape_image_data.py", line 28, in
import instagram_scraper
ModuleNotFoundError: No module named 'instagram_scraper'

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.