Skip to content

cenksen/google-maps-data-extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Maps Data Extraction

A script for extracting data from Google Maps.

Installation

  1. Clone the repository:
    git clone https://github.com/cenksen/google-maps-data-extraction.git
    cd google-maps-data-extraction

2.Install the required packages:

  pip install -r requirements.txt

3.Install the package:

  pip install .

Usage

You can run the script using the following command:

google-maps-extract --search "Restaurant" --location "Turkey" --total 100

Parameters

  • --search: The term you want to search for (default is "Restaurant").
  • --location: The location you want to search in (default is "Turkey").
  • --total: The total number of listings to extract (default is 100).

Output

The extracted data will be saved in the /output directory in the following formats:

  • CSV (result.csv)
  • JSON (result.json)
  • HTML (result.html)

Requirements

Make sure you have Python 3.x installed, along with the following packages:

  • pandas
  • playwright

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have suggestions or improvements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages