{"repo":"gaspa93/googlemaps-scraper","free":true,"listed":false,"github":"https://github.com/gaspa93/googlemaps-scraper","clone":"git clone https://github.com/gaspa93/googlemaps-scraper.git","description":"Google Maps reviews scraping","language":"Python","stars":517,"topics":["scraper","python","reviews","google-maps","google-maps-scraping"],"license":"GPL-3.0","category":"scrapers-browser-automation","readme_excerpt":"Google Maps Scraper Scraper of Google Maps reviews. The code allows to extract the most recent reviews starting from the url of a specific Point Of Interest (POI) in Google Maps. An additional extension helps to monitor and incrementally store the reviews in a MongoDB instance. Installation Follow these steps to use the scraper: - Download latest version of Chromedrive from here. - Install Python packages from requirements file, either using pip, conda or virtualenv: conda create --name scraping python=3.9 --file requirements.txt Note : Python = 3.9 is required. Basic Usage The scraper.py script needs two main parameters as input: - --i : input file name, containing a list of urls that point to Google Maps place reviews (default: urls.txt ) - --o : output file name, which will be created in the data folder (default: output.csv) - --N : number of reviews to retrieve, starting from the most recent (default: 100) Example: python scraper.py --N 50 generates a csv file containing last 50 reviews of places present in urls.txt Additionally, other parameters can be provided: - --place : boolean value that allows to scrape POI metadata instead of reviews (default: false) - --debug : boolean value that allows to run the browser using the graphical interface (default: false) - --source : boolean value that allows to store source URL as additional field in CSV (default: false) - --sort by : string value among most relevant, newest, highest rating or lowest rating (default: newest), devel","default_branch":null,"files":null,"tree":[],"storefront":"/r/gaspa93","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gaspa93/googlemaps-scraper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}