ππΊοΈ This Python script enables scraping data from Google Maps using Selenium. It automates the process of extracting information from map searches and saves the data to an Excel file using the openpyxl library. ππ
- Python 3.9
- selenium 4.1.0
- requests 2.28.1
- bs4 0.0.1
- openpyxl 3.0.9
- chromedriver-autoinstaller (latest version)
- Clone the repository:
git clone https://github.com/kawsarlog/projectMapsData.git
- Navigate to the project directory:
cd google-maps-scraping
- Install the required dependencies:
pip install -r requirements.txt
Before running the script, make sure Google Chrome is installed and the appropriate version of ChromeDriver is automatically installed using chromedriver-autoinstaller
.
Run the script by executing the following command:
python google_maps_scraping.py
For any questions or feedback, feel free to reach out:
- Email: kawsar@kawsarlog.com
- Website: kawsarlog.com
Note: This project is for educational purposes only. Please review and comply with Google's Terms of Service when scraping data from Google Maps.