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

Uploaded Python 3

File details

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

File metadata

  • Download URL: instagram_posts_scraper-0.0.7.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for instagram_posts_scraper-0.0.7.tar.gz
Algorithm Hash digest
SHA256 868b32ba528ee1b6b55101282df91bd98cf8a2590ebfae9164e695ae5fc6e1fe
MD5 4109dbf5a7b53600194a61935ca297be
BLAKE2b-256 667b493ad2f4138a2c12fc19bade3ea08ab1fbaa205f8e2a7e5181b6fe1deb09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for instagram_posts_scraper-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9938138fcca66307b85bec4a0a965941facb4bd90bf073cb9c1a12d966e8282c
MD5 3acd401eedcdb0387337fbb87a550c83
BLAKE2b-256 ad12c5f13d4fe3065734e30c8fabd45c4a04087f4a5b758718a10a6b09d3ee72

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