Skip to main content

Implement Instagram Posts Scraper for post data retrieval

Project description

Instagram Posts Scraper

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.

Support Me

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!

💖 Ways to Support:

Thank you for your support!! 🎉

Requirements

beautifulsoup4==4.13.3
cloudscraper==1.2.71
pandas==2.2.3
pytz==2025.1

Installation

To install the latest release from PyPI:

pip install instagram-posts-scraper

Usage - Sample

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)

Optional parameters

  • username: target instagram user
  • days_limit: Number of days within which to scrape posts..

Sample(Usage & Result) - KaiCenat

image

image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

instagram_posts_scraper-0.0.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

instagram_posts_scraper-0.0.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file instagram_posts_scraper-0.0.2.tar.gz.

File metadata

  • Download URL: instagram_posts_scraper-0.0.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for instagram_posts_scraper-0.0.2.tar.gz
Algorithm Hash digest
SHA256 da3e664ac5b513fa6701438ff119a00d29416a9682c9e0d3e49bb5332129dd72
MD5 42f208c397df413a5734f93c9c80e91e
BLAKE2b-256 9a536a53da49ed85db84d9597c88e9952d603d4bb3c54b64170d029b0916d667

See more details on using hashes here.

File details

Details for the file instagram_posts_scraper-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for instagram_posts_scraper-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f24ae148d47f306057a1d605e57bcad419988313d477802d25d6ff07d5e0e9dd
MD5 6b990b09a47201d88b2cd9b2f5562aa1
BLAKE2b-256 328b587e41c421198276c9b363f644974f9d9394a78bd1340e230dfda2ac179c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page