Instagram Post Scraper avatar
Instagram Post Scraper
Try for free

Pay $2.30 for 1,000 results

View all Actors
Instagram Post Scraper

Instagram Post Scraper

apify/instagram-post-scraper
Try for free

Pay $2.30 for 1,000 results

Scrape Instagram posts. Just add one or more Instagram usernames and get your data in seconds including text, hashtags, mentions, comments, images, URLs, likes, locations, and metadata. 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
CH

Limiting scraping to past 24hrs

Closed

chuffed opened this issue
4 months ago

I would like to scrape daily the past 24hrs of posts from clients. Rather then having to change the date each time (this is an automated task), is there a way to set a specific time period to go back, ie: "onlyPostsNewerThan": "24h",

Currently we are using: "onlyPostsNewerThan": "2024-05-06",

Thanks.

alexey avatar

Hi! Please use json input values onlyPostsForLastValue equal to 24 and onlyPostsForLastTimeUnit equal to hours then relative date will be calculated and applied.

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
  • 1.5k monthly users
  • 91 stars
  • 100.0% runs succeeded
  • 23 hours response time
  • Created in Nov 2021
  • Modified 1 day ago