google-maps-scraper
google-maps-scraper copied to clipboard
Automatically run a script on program execution?
I need to run a script automatically whenever the google-maps-scaper exe finishes. I have a number of options.
- 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. - 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,