/UltimateStalker

Download images from Instagram

Primary LanguagePython

UltimateStalker

The Ultimate Stalker helps you Download images from Instagram public repositories.

How it Works?

Scrape URL

Given a handle, you can download the images that appear on the first 12 tiles of the page. The instagram layout is a 3x4 layout and once you scroll down it requests for more 12 images. This is a typical example of Lazy Loading.

The program uses PhantomJS, coupled with Selenium to create AJAX requests.

Getting Started

Requirements

  • Selenium Webdriver
  • BeautifulSoup

How to run

git clone https://github.com/durwasa-chakraborty/UltimateStalker

Install the following dependencies - Install BeautifulSoup - Install Selenium

Running Instructions

cd /path/to/UltimateStaker python app.py -h @<your handle name goes here> <Number of Instagram pages

Contributing

Please feel free to raise any issue (no matter how trifle it is). Any suggestions on design caveats, writing beautiful codes, a more Pythonic implementation or anything that remotely qualifies as constructive criticism, please feel free to raise an issue for the same.

Thanks to

  • (Neil Locketz)[https://github.com/c0d3d] The program uses PhantomJS, coupled with Selenium to create AJAX requests to simulate infinite scrolling.