Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@karaposu
Copy link
Contributor

Summary

  • Complete Instagram scraper implementation with URL-based and discovery endpoints
  • Version centralization - single source of truth in pyproject.toml
  • Bump version to 2.1.1

Instagram Scraper Endpoints

URL-based Scraping (client.scrape.instagram)

Method Description
profiles(url) Extract profile data from profile URL
posts(url) Extract post data from post URL
reels(url) Extract reel data from reel URL
comments(url) Extract comments from post/reel URL

Discovery (client.search.instagram)

Method Description
profiles(user_name) Discover profile by exact username
posts(url, num_of_posts, start_date, end_date, post_type) Discover posts from profile
reels(url, num_of_posts, start_date, end_date) Discover reels from profile
reels_all(url, ...) Discover all reels (including archived)

Version Centralization

Before (5 files to update):

  • pyproject.toml, __init__.py, _version.py, engine.py, cli/main.py

After (1 file to update):

  • pyproject.toml ← Single source of truth

Uses importlib.metadata.version() to read version at runtime.

Other Changes

  • Document all API response fields in method docstrings
  • Add date validation for Instagram MM-DD-YYYY format
  • Add test notebooks for Instagram and v2.1.0 release verification

…fields

- Add full Instagram scraper implementation with URL-based and discovery endpoints:
  - scrape.instagram: profiles, posts, reels, comments (by URL)
  - search.instagram: profiles (by username), posts, reels, reels_all (by profile URL)
- Document all API response fields in method docstrings
- Add date validation for Instagram MM-DD-YYYY format

refactor(version): centralize version management

- Single source of truth in pyproject.toml (v2.1.1)
- Use importlib.metadata.version() in __init__.py
- Remove redundant _version.py
- Update engine.py and cli/main.py to import __version__

chore: add test notebooks for Instagram and v2.1.0 release verification

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@shahar-brd shahar-brd merged commit 0d39730 into brightdata:dev Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants