Apify and Crawlee Official Forum

Updated 3 weeks ago

Relative start dates in Actors that ask for a date range.

Hi, I'm trying to plan out some automations using quite a few scrapers. If I have 10 different actors I want to run on the first of every month and I want to scrape the entire previous month, and have this as a recurring task, how would I do it? My biggest question is about configuring the dates to be relative. The rest I think I can likely figure out using integrations with Make. TIA!
1
a
A
D
6 comments
Hello πŸ‘‹ are these your private scrapers (Do you have access to their internal code?)
If not, you probably can calculate this relative date from within your make integration and then send it to the actor
No these are rented actors. How do I send information from Make to my apify tasks so that the date is relative?
Thanks for the link. I'm concerned about the actors that ask for dates in the YYYY-MM-DD format. I'm likely going to want to run tasks on a weekly basis, so I'd want the time frame to be "newer than 7 days" or something like that. I feel like the "Input JSON overrides field" might be involved somehow but I don't know enough to understand what's involved with that.
if nothing works then as last resort you can create your own actor that will just launch these actors with any time frame you need
I had no idea you could do that! I need to look into this. Thanks!
Add a reply
Sign up and join the conversation on Discord