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
seleniumbase==4.38.0
requests==2.32.3

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.3.tar.gz (10.8 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.3-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: instagram_posts_scraper-0.0.3.tar.gz
  • Upload date:
  • Size: 10.8 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.3.tar.gz
Algorithm Hash digest
SHA256 a2946dc9580a1296cad3aa7a8dd66dbd4dba8274958bd83e4172fb715bc44a95
MD5 b03197093624efb2f7e9fc09ddbe11ac
BLAKE2b-256 0f3aaa75120fefc980d1d2c18e1f35f8d53875ba44297f32d477f0be30d95dd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for instagram_posts_scraper-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f7d42a5095c0358656a2e6e9d25b33e637a32d73de202dd5f06a8fc3116c882b
MD5 dd2631a876b65e7e056050c357163866
BLAKE2b-256 74cadcb56cbfecce94e8fcdfd8c44e7a57aa462298032da6ec05364ab67bf066

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