How to get more than 8 reviews?
Currently it returns 8 user_reviews per location. I want to scrape a single location but get all the user reviews available?
Is there a parameter for this available? Or a way to get reviews sorted by "New"?
@gosom I noticed that you are using the window.APP_INITIALIZATION_STATE object to scrape the data from a gmap link.
Is there a similar object available for cases where I might need more reviews? Or for example, I want reviews based on a different sort order
Or since they are different fetch requests and just update the DOM on the fly, the only option is to use playwright locators?
I believe it's possible to get the reviews with a different way but they are not available on the page
It would indeed be of great help, although I understand this may not be technically feasible.
@maaz-munir, did you figure out a way?
@itsmevictor I ended up using playwright itself to get the reviews
@maaz-munir @itsmevictor
I added support to get extra reviews. It is still experimental , enable using -extra-reviews flag.
https://github.com/gosom/google-maps-scraper/releases/tag/v1.8.0
Can you please test and let me know how it works for you?
I added support to get extra reviews. It is still experimental , enable using -extra-reviews flag.
https://github.com/gosom/google-maps-scraper/releases/tag/v1.8.0
Can you please test and let me know how it works for you?
I tested locally it works great! Thanks for the feature. BTW, I see currently postgres dump will only store all field as a json which requires additional type casting if you wan to process further on each field. Are you willing to accept PR which include structured table shema and go model for postgres? Happy to contribute
hey @gosom , i have abit question: why with -extra-reviews only get around 300 reviews ? Any solution for get more reviews ?