google-maps-scraper icon indicating copy to clipboard operation
google-maps-scraper copied to clipboard

Automatically run a script on program execution?

Open dbee01 opened this issue 5 months ago • 1 comments

I need to run a script automatically whenever the google-maps-scaper exe finishes. I have a number of options.

  1. I could write my own UI and scraper using the helpful starter repo. Then do a simple bt.run_js(script) This solution is recommended.
  2. I could run a crontab on a very frequent basis to process the .ndjson file. And place an escape if the file is already processed.

I'll write my own google scraper using bota soon, but for the time-being. What's my best solution to run a script to execute a bash.sh file on a new finished .ndjson output file?

thanks,

dbee01 avatar Jul 02 '25 13:07 dbee01