The GMaps Insight Tool is a Python-based scraper using Playwright to extract business data from Google Maps. This tool can scrape information such as business names, addresses, websites, phone numbers, reviews count, and average reviews.
- Scrapes business data from Google Maps.
- Extracts business names, addresses, websites, phone numbers, reviews count, and average reviews.
- Saves the data to Excel and CSV files.
- Scrolls through each pages.
-
Clone the repository:
git clone https://github.com/MhmdSalman18/GMaps-Insight-Tool.git
-
Navigate to the project directory:
cd GMaps-Insight-Tool -
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install the required packages:
pip install -r requirements.txt
-
Run the script:
python main.py -s "search query" -t number_of_resultsReplace
"search query"with the desired search term andnumber_of_resultswith the number of results to scrape.
Feel free to fork the repository and submit pull requests with improvements or bug fixes.