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

Uploaded Python 3

File details

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

File metadata

  • Download URL: instagram_posts_scraper-0.0.4.tar.gz
  • Upload date:
  • Size: 10.9 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.4.tar.gz
Algorithm Hash digest
SHA256 cb26194e74188d2d52ecd1a0b2b8da78ee06db22fdabaad07c1f20529b2ee565
MD5 6d409e2bdfb355d6875b380d46987fc6
BLAKE2b-256 7c83da84050a2bbe87586da4d3326af75e85cb780be5ef097d71e68721cf93b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for instagram_posts_scraper-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9f954409a9d2bb0a0d8d8462ecfded02d7da7244089092f970c8200979214a76
MD5 7c479c456ca29b7e91aa9cac9894bfe0
BLAKE2b-256 fd6548489eb2e94eea7bcb66c69924a4b3de8ad34e11f38625e264593d09d299

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