Skip to content
instagram scrapping module
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
instagram_explore Version 0.3.0 Mar 15, 2018
tests init Aug 21, 2016
.gitignore init Aug 21, 2016
.travis.yml Fix travis Aug 21, 2016
README.rst Version 0.3.0 Mar 15, 2018
setup.py init Aug 21, 2016

README.rst

instagram-explore

https://travis-ci.org/midnightSuyama/instagram-explore.svg?branch=master

instagram scrapping module

Installation

$ pip install instagram-explore

Usage

User

import instagram_explore as ie

# Search user name
res = ie.user('instagram')
print(res.data)

# Next page
data, cursor = ie.user('instagram', res.cursor)

# Image only
images = ie.user_images('instagram').data

Tag

import instagram_explore as ie

# Search tag name
res = ie.tag('cat')
print(res.data)

# Next page
data, cursor = ie.tag('cat', res.cursor)

# Image only
images = ie.tag_images('cat').data

Location

import instagram_explore as ie

# Search location id
res = ie.location('7226110')
print(res.data)

# Next page
data, cursor = ie.location('7226110', res.cursor)

# Image only
images = ie.location_images('7226110').data

Media

import instagram_explore as ie

# Search media code
res = ie.media('BFRO_5WBQfc')
print(res.data)

# Image only
image = ie.media_image('BFRO_5WBQfc').data
You can’t perform that action at this time.