Get Instagram user and hashtag information and posts details without any third-party libraries
Project description
Instagramy
Python Package for Instagram Without Any external dependencies
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 and any dependencies.
Download
Installation
pip install instagramy
Upgrade
pip install --upgrade 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
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
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
- uploaded_date
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
Made with Python ❤️
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.