Library for scraping basic Instagram data
- PyPI package
Windows
pip install igpyLinux/MacOS
pip3 install igpy- Clone the repository to your local machine and install
git clone https://github.com/Devansh3712/InstagramPy.git
cd InstagramPy
python setup.py install- Fetch user data
from instagrampy import Instagrammer
obj = Instagrammer()
user = obj.user(username = "whodevansh")
print(user)- Fetch post data
from instagrampy import Instagram
obj = Instagram(url = "https://www.instagram.com/p/BsOGulcndj-/")
user = obj.post()
print(user)