gaspa93 / googlemaps-scraper

Google Maps reviews scraping
GNU General Public License v3.0
378 stars 136 forks source link

`__expand_reviews` sometimes not working #37

Closed saito828koki closed 1 year ago

saito828koki commented 1 year ago

The position of self.__scroll() in these lines is incorrect, causing self.__expand_reviews() to be executed before the 'expand more' buttons are loaded. I believe that self.__scroll() was intended to be placed immediately after the comment # scroll to load reviews. https://github.com/gaspa93/googlemaps-scraper/blob/b1bc007ecb3f212697536a31cbfb87dc9e4c0657/googlemaps.py#L163-L172

gaspa93 commented 1 year ago

Thank you for notice this, MR approved