Get Instagram user and hashtag information and posts details
Project description
Instagramy
Scrape Instagram Users Informations, Posts Details, and Hashtags details. This Package scrapes the user's recent posts with some information like likes, comments, captions and etc. No login required.
Download
Windows
> pip install instagramy
Linux
$ pip3 install instagramy
Usage
Instagram User details
Class InstagramUser
scrape some of the information related to the user of the Instagram
Properties
- biography
- fullname
- is_private
- is_verified
- number_of_followers
- number_of_followings
- number_of_posts
- other_info
- posts
- posts_display_urls
- profile_picture_url
- username
- website
<img src="https://raw.githubusercontent.com/yogeshwaran01/instagramy/master/samples/user.png" width=100%height=100%>
Instagram Hashtag details
Class InstagramHashTag
scrape some of the information related to the hash-tag of the Instagram
Properties
- number_of_posts
- posts_display_urls
- profile_pic_url
- tagname
- top_posts
<img src="https://raw.githubusercontent.com/yogeshwaran01/instagramy/master/samples/hashtag.png" width=100%height=100%>
Instagram Post details
Class InstagramPost
scrape some of the information related to the particular post of Instagram. It takes the post id as the parameter. You can get the post id from the URL of the Instagram posts from the property of InstagramUser.posts
. or InstagramHagTag.top_posts
Properties
- author
- caption
- description
- number_of_comments
- number_of_likes
- post_detail
Note
- Don't send multiple request, If you send multiple request, the Instagram redirect to login page, If you send multiple request, reboot your pc or change the ip or try after somtimes.
- This Package does not work in Remote PC or any Online python Interpreter
- This Package not scrap all the posts from a certain account, limit of the posts only 12 ( For non-private account)
- This Package not scrap all the posts of certain hash-tags it only scrapes the top 60 - 70 posts in certain hash-tags.
Sample-Scripts
Some sample scripts based on this package
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.