Skip to content

Get max_no_of_posts using insta_posts_scraper #128

Description

@hamza1424

We can't retrieve all posts for a user, it only returns posts from the first page:
Here is our script:


from apify_client import ApifyClient


from apify_client import ApifyClient
apify_client = ApifyClient('token')


actor_call = apify_client.actor('apify/instagram-post-scraper').call(run_input={'username' : ['username'], "limit": 100}, )
### get dataset and posts 
dataset_items = apify_client.dataset(actor_call['defaultDatasetId']).list_items().items

Is there any way work around to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions