Skip to content

Commit e1aa61b

Browse files
committed
post_type takes Reels, not Reel: verified live, filed as sdk-python#59
1 parent 91de58b commit e1aa61b

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎AGENTS.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ SDK's own docstrings.
2525
- One credit per record. Comments cost one per comment; `reels_all` costs one
2626
per reel the account has ever posted. 5,000 credits are free each month.
2727
- Reels discovery needs `timeout=420`; the 180-second default expires.
28-
- `post_type="Reel"` returns nothing, silently. Do not rely on it.
28+
- `post_type` takes `"Post"` or `"Reels"`. The SDK docstring's `"Reel"` returns an
29+
error row and no reels.
2930
- An empty date window comes back as an error row whose message contains
3031
"There are no public posts in the profile for the specified period". That is
3132
a success with zero records. Match the message, not `error_code`; a dead

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,9 @@ with SyncBrightDataClient(auto_create_zones=False) as client:
229229
2026-08-19T14:11:47.000Z Image https://www.instagram.com/p/DcOX3hWFiey/
230230
```
231231

232-
`post_type="Post"` filters reels out, verified. `post_type="Reel"` returned no
233-
rows in testing even with a reel inside the window, so do not rely on it.
232+
`post_type="Post"` keeps posts only and `post_type="Reels"` keeps reels only,
233+
both verified. The SDK's docstring says `"Reel"`; that spelling returns an
234+
error row and no reels ([sdk-python#59](https://github.com/brightdata/sdk-python/issues/59)).
234235
`posts_to_not_include` takes a list of post IDs.
235236

236237
### A profile, by username, no URL

0 commit comments

Comments
 (0)