gosom / google-maps-scraper

scrape data data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place
MIT License
724 stars 93 forks source link

Stalled after some time #11

Closed latot closed 10 months ago

latot commented 10 months ago

Hi, I tested this with some samples, no idea why, but the program does not finish, some process seems to be working more than 7h without finish....

I'm uploading the query file requests.txt

Thx!

gosom commented 10 months ago

Hi @latot,

the program does not exit when the requests are completed.

Does the output file contains results?

latot commented 10 months ago

Yes, it has the results. Is possible to finish it when is ready with the requests? or is there a reason why this behavior?

ntrance commented 10 months ago

I have the same issue on Windows the cmd window hangs until I escape it and then it writes the CSV file

gosom commented 10 months ago

I have added a command line parameter that exits the program after a period of inactivity.

you can use the latest version (see README -exit-on-inactivity).

I am closing the ticket since this is resolved now.

Please create an issue if you still have problems.

thanks