Skip to content

shreshthgoyal/igls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IGLS - Instagram Like Scraper

It's a web scraping command line tool based on python and selenium.

Description

This is a trial tool for learning purpose as according to Instagram's Terms of Use, Rule 10, Instagram does not allow scraping, crawling and caching any content from Instagram. This tool is developed to scrape likes for particular clubs/organisations following their approval for the same.

This scraper CLI tool, automates flow from user login to getting likes from all the posts. In the latest version of IGLS user can scrape all the likes of a particular page/user and also filter them on the basis of certain tags used in their caption.

This tool is published on PyPi here.

Getting Started

Dependencies

  • All the external dependencies exception Python3 are listed in requirements.txt here.
  • Intallation of Chrome Browser is also required.

Installing

  • To setup a basic environment to run this tool locally either user can install package from PyPi and continue.
    pip install igls==1.0.0
    and then user needs to install required modules.

  • Also, user can clone this repository and build in manually

git clone https://github.com/shreshthgoyal/igls.git
cd igls
sudo python3 setup.py install
sudo python3 setup.py sdist bdist_wheel

Executing program

  • In the command line user needs to enter the following command to know all the commands till this release.
igls -h

Help

As Instagram may block IP address of an account if user spams logging in continuously it is advised to use the alternate account which is provided for public pages or user should make an alternate account if they want to scrape a private page.

License

This project is licensed under the MIT License - see the LICENSE file for details.