Instagram Scraper avatar

Instagram Scraper

Try for free

Pay $2.30 for 1,000 results

Go to Store
Instagram Scraper

Instagram Scraper

apify/instagram-scraper
Try for free

Pay $2.30 for 1,000 results

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.

Do you want to learn more about this Actor?

Get a demo
CL

onlyPostsNewerThan doesn't seem to work

Closed

curious_lyre opened this issue
24 days ago

Just started testing with this actor. I noticed it seems to be returning more results than expected. On inspecting the output, I can see records being returned outside of the "onlyPostsNewerThan": "2024-11-14" specified in the input properties e.g. check the timestamp on the third record returned in the attached job id. Sorry, if I am not using the input settings correctly.

alexey avatar

Hi!

In your run you getting regular posts filtered by date and pinned posts regardless of date: https://api.apify.com/v2/datasets/jCZSWoZlosSk9B3FV/items?clean=true&fields=url,timestamp,isPinned&format=json

1{
2  "url": "https://www.instagram.com/p/DCZ9x7ayJyX/",
3  "timestamp": "2024-11-15T20:40:12.000Z"
4},
5{
6  "url": "https://www.instagram.com/p/DCcZDZPSHJ1/",
7  "timestamp": "2024-11-16T19:15:08.000Z"
8},
9{
10  "url": "https://www.instagram.com/p/DBKxVLQI9xl/",
11  "timestamp": "2024-10-16T02:29:33.000Z",
12  "isPinned": true
13}

If you want to exclude pinned posts from scraping please use json input value named skipPinnedPosts: true

I´m going to close the issue now, but if there would be anything else we could help with, please let us know.

Developer
Maintained by Apify

Actor Metrics

  • 6k monthly users

  • 580 stars

  • >99% runs succeeded

  • 2.5 days response time

  • Created in Apr 2019

  • Modified 9 hours ago