GithubHelp home page GithubHelp logo

pratikstar / instagram-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mlatusek/instagram-api-python

0.0 0.0 0.0 227 KB

Instagram banned hashtag checker using LevPasha's API

License: Other

Python 100.00%

instagram-bot's Introduction

Followers checker (followers.py)

NEW! This is deployed into Public Google Colab

Everyone can use it without installing anything!
>>>> Click Here >>>>
https://colab.research.google.com/drive/1whB8JOWac2dohuLoc-3TZZNYdcwjSWAc?usp=sharing
Instructions:

  1. Run the !pip install InstagramAPI code block. When finished, clich Restart Runtime at the bottom of the output
  2. Run all code (Ctrl + F9) and enter your username at the bottom of the screen

Outputs who are you following but is not following you back
Sample output:

Enter Instagram username: (Your username)
Number of followers: 4939
Number of followings: 1164
Number of non-followers: 175
{'miona.flower', 'vardy7', 
# (Output Truncated)

Banned Hashtag checker (main.py)

Using this IG API by LevPasha, reads all posts of a user after inputing username
Checks and outputs if banned hashtags is found.
Also outputs the top 10 frequent hashtags of the user.

*Before use, please install the API according to the instructions below.

main.py is the Python script for the above
dict.txt contains the list of banned hashtags

Limitations:
The program can only read hashtags from captions of the post but not comments

Sample output for account tombrady:

Enter Instagram username: tombrady
===========Post code: BSO0O6QhD6v=============
{'humpday'}
Found banned hashtags:
{'humpday'}
========All posts successfully checked========
========Top 10 Hashtags=========
LFG 20
1 4
GameReady 4
LifeReady 4
ROS 4
tbtimes 4
LETSGO 3
TB1K 3
patsnation 2
MetGala 2

Instagram-API-python by LevPasha

Unofficial Instagram API to give you access to ALL Instagram features (like, follow, upload photo and video, etc)! Written in Python.

This is the Python port of https://github.com/mgp25/Instagram-API which is written in PHP. It is still a work in progress to copy all of its API endpoints.

NOTE: To successfully parse for a long time you should verify your phone number in your Instagram account. The new fake Instagram account with an unverified phone number after ~ 1-24 hours could not do any requests. All requests will be redirected to the page https://instagram.com/challenge

Installation Instructions

  1. Fork/Clone/Download this repo

    git clone https://github.com/lamwilton/Instagram-API-python.git

  2. Navigate to the directory

    cd Instagram-API-python

  3. Install the dependencies

    pip install -r requirements.txt

  4. Modify examples\test.py with your own username and password

  5. Run the test.py script (use text editor to edit the script and type in valid Instagram username/password)

instagram-bot's People

Contributors

ahmdrz avatar aktasfatih avatar darland avatar desecho avatar dsouzarc avatar howie6879 avatar ivanychev avatar jamesbrink avatar jansowinski avatar joeffison avatar koddr avatar lamwilton avatar levpasha avatar pratikstar avatar r17x avatar randhipp avatar raphasousa avatar technophilus avatar tjetzinger avatar toxydose avatar tudoanh avatar westscz avatar xecgr 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.