Giter VIP home page Giter VIP logo

pynstagram's Introduction

pynstagram

Python API using selenium that scrapes data from your account
Also allows you to unfollow targeted accounts (non-follow-backers, ghost accounts)
Functionality for Ubuntu

Update

Facebook has been mutating their html structure most weeks, this makes upkeep exhausting.
This project has lost a lot of its appeal for me, so I won't be maintaining this tool.
All the code here is valid, and works - all that needs to be changed are the xpaths stored in
instaDictionaries.py. Typically the only change in htmml is an extra "< div >".
Hope someone else can have as much fun as I did with this project!

This program requires the following installs:

Setting up your login.txt file

Size refers to the size of your account. Accounts with followers/following less than 500 users can run "small",
bigger accounts must run "big" so your requests are paced more slowly.

Must be in the following format:
Username = usernom
Password = password
Size = [ big / small ]

Setting up automated sheet

GSheets are a great way to house and log your data..
You don't have to include this functionality, but bits of the API are set up to support it.
follow this tutorial to correctly configure your automated sheet and get your credentials

Example Script

I've included the data scraping bot I use with my API. Shows how I incorporated google sheets.
If you set up your Google Sheet with the instructions in the tutorial above, you can run my example.

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.