/serpsimilarity

This script will quickly check how many URLs are common between two Google SERPs for any specified TLD

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Google Search Analysis Script

This script allows users to analyze the overlap in the top 10 Google search results for two keywords. It provides a visual representation using a pie chart to show the distribution of URLs that appear in both sets of search results.

Features

  • User-defined Google TLD (Top-Level Domain) selection (e.g., .com, .co.uk, .de).
  • Fetches the top 10 search results for two user-defined keywords.
  • Displays a pie chart showing the overlap of URLs in the search results for both keywords.
  • Option to rerun the script without restarting.

Prerequisites

  • Python 3.x
  • Virtual environment (recommended)

Installation & Setup

  1. Clone the Repository
git clone https://github.com/thetafferboy/serpsimilarity.git
cd path-to-repo
  1. Set Up a Virtual Environment (Optional but recommended)
python3 -m venv venv
  1. Activate the Virtual Environment
  • On macOS and Linux:
source venv/bin/activate
  • On Windows
.\venv\Scripts\activate
  1. Install Required Libraries
pip install -r requirements.txt

Usage

  1. Run the script
python3 search_analysis.py
  1. Follow the on-screen prompts to select a Google TLD and enter your keywords.

  2. View the pie chart that displays the overlap of URLs in the search results for both keywords.

  3. Choose whether to run the script again or exit.

Credits