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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file instagram-explore-0.3.0.tar.gz.
File metadata
- Download URL: instagram-explore-0.3.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03fe2361212df936c0f9106185e5a5a2a2824c22f07a0ebc0af3cfd8c0f7cd01
|
|
| MD5 |
a787f0f73282f3f580a049a68061f840
|
|
| BLAKE2b-256 |
0207bd1d8656e71f28c74a6f6d59b657d214f5f378eccfaa1d0df84bd2cd07aa
|