Skip to main content

The Google Map Reviews Web Scrabbler is a specialized tool designed to extract Google Maps reviews to a .CSV file.

Project description

\n# Google Map Reviews Web Scrabbler 🗺️

The Google Map Reviews Web Scrabbler is a specialized tool designed to extract Google Maps reviews to a .CSV file. 📜

Please note that this tool is configured to perform a specific task and may not be suitable for customizing to your specific requirements. ⚙️

Installation & Usage Instructions 🚀

To use this tool, you'll need to set up the necessary components. Here are the installation steps:

  1. Web/Chrome Driver 🌐: This tool utilizes Selenium, which requires a web driver to interact with your chosen web browser. Web drivers serve as intermediaries between Selenium and the browser, facilitating communication through a common wire protocol. To get started, follow these steps:

    • Download the Chrome Driver from here.
    • Once downloaded, copy or cut the driver file from your downloads folder.
    • Paste the driver file into your C drive, typically located at C:\chromedriver_win32\chromedriver.exe. Please ensure you follow this path to avoid any path-related errors. 🚗
  2. Pip installation 🐍: Ensure you have installed the package by running the following command:

    python -m pip install gmap_scrabbler
    
  3. Usage: Run the following command in the CLI window and provide necessary arguments:

    python -m gmap_scrabbler
    
  4. Arguments⚙️: You will be prompted to enter the following information:

  • url: The URL of the Google Maps reviews page you want to scrape.
  • export_path: The path where the extracted reviews will be saved as a CSV file. The specified folder should already exist. You can customize the export path, but if none is provided, the default path is set to "D:/".
  • lang: The browser locale for viewing the Google Maps page. By default, it is set to "en" (English), but you can specify other supported locales like "es" (Spanish). You will be prompted to enter this value.
  • review_limit: The maximum number of reviews you want to extract. You can specify the limit, but if none is provided, the default limit is set to 1000. You will be prompted to enter this value.
  1. Output 📦:

    The script will initiate a web browser, load the Google Maps reviews page, scroll through the reviews, and extract the specified number of reviews. Once the extraction is complete, the reviews will be saved to a CSV file in the specified export path. 📂

    Please keep in mind that this tool is intended for a specific purpose, and customization beyond its predefined functionality may require additional development efforts. 🔧👨‍💻

Technologies and Libraries Used 🛠️

  • Python 3.7+
  • Typer
  • Selenium
  • Pandas
  • Published to PyPi using GitHub actions and Twine 📦🔗

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gmap_scrabbler-0.2.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gmap_scrabbler-0.2.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file gmap_scrabbler-0.2.2.tar.gz.

File metadata

  • Download URL: gmap_scrabbler-0.2.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for gmap_scrabbler-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c8f917a60f18805273d95f3f23466315707b5d00ba1e880807b3f32061aa1fc3
MD5 06a5b5277d394bd9a31d7d63e22b096d
BLAKE2b-256 a16fe0c60d98d8fac5409ab0788975eee5ffd6541274c6704df3d6bae876b185

See more details on using hashes here.

File details

Details for the file gmap_scrabbler-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: gmap_scrabbler-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for gmap_scrabbler-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 200dac042d48817227d0e2f6810f14ac9d4a4c48e126161ee65b84376a00b017
MD5 2ab58e24f0a25a23d103aa7879d57158
BLAKE2b-256 8ffb28bc0a6a49d84070bc3a0084c96e4e78ecb5550af2d265dc42053567bd1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page