Instagram Scraper avatar
Instagram Scraper

Pricing

from $1.50 / 1,000 results

Go to Store
Instagram Scraper

Instagram Scraper

Developed by

Apify

Apify

Maintained by Apify

Scrape and download Instagram posts, profiles, places, hashtags, photos, and comments. Get data from Instagram using one or more Instagram URLs or search queries. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

3.7 (62)

Pricing

from $1.50 / 1,000 results

1900

Total users

114K

Monthly users

12K

Runs succeeded

98%

Issues response

3.1 days

Last modified

17 hours ago

NT

Can not limit the size of the actor responses when using the python script example.

Closed

ntegeka opened this issue
10 days ago

Can not limit the size of the actor responses when using the python script example.

alexey avatar

Hi!

It is outside of the actor logic - how your integration works with the actor can not be affected by the actor itself. Please check the manual for the Python SDK or ask in Discord.

I will close the issue now, but if there is anything else we can help with, please let us know.

NT

ntegeka

8 days ago

Dear Alexey,

Thank you for your prompt response regarding the issue I'm experiencing with the apify/instagram-scraper actor.

I understand that the limitation of actor responses typically falls outside the actor's core logic. However, I'm encountering a specific problem when I attempt to add a resultsLimit parameter to the run_input dictionary within the Python script example. Despite setting a numerical limit, this limit does not appear to be respected in the actual responses I receive.

Could you please provide further clarification on whether the resultsLimit parameter, when included in the run_input for this particular actor, is intended to function as a data output limiter, or if there's a specific way it should be implemented to ensure the numerical limit is honored? Any guidance on this would be greatly appreciated.

alexey avatar

Hi!

You can check the input in your run(s): https://console.apify.com/view/runs/8enbi0w9OVceVbAbF

{
"directUrls": [
"https://www.instagram.com/sheilahgashumba/"
],
"resultsType": "posts",
"resultsLimit": 2,
"searchType": "hashtag",
"searchLimit": 1,
"addParentData": false
}

Everything works as expected - if "resultsLimit": 2 is not a logically correct value, then you are setting it in the wrong way.