InstagramPostsScraper is a Python library for collect instagram users' data.
The data obtained by web crawlers is not real-time data, but rather data from a specific point in time on the same day.
I’d really appreciate your support! You can star ⭐ or fork this repository to help me keep sharing more interesting web scrapers.
If you enjoy this project and would like to support me, please consider donating 🙌
Your support will help me continue developing this project and working on other exciting ideas!
- PayPal: https://www.paypal.me/faustren1z
- Buy Me a Coffee: https://buymeacoffee.com/faustren1z
Thank you for your support!! 🎉
beautifulsoup4==4.13.3
cloudscraper==1.2.71
pandas==2.2.3
pytz==2025.1
To install the latest release from PyPI:
pip install instagram-posts-scraper
from instagram_posts_scraper.instagram_posts_scraper import InstaPeriodScraper
target_info = {"username": "kaicenat", "days_limit":60}
ig_posts_scraper = InstaPeriodScraper()
res = ig_posts_scraper.get_posts(target_info=target_info)
- username: target instagram user
- days_limit: Number of days within which to scrape posts..