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.
- 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.
- Python 3.x
- Virtual environment (recommended)
- Clone the Repository
git clone https://github.com/thetafferboy/serpsimilarity.git
cd path-to-repo
- Set Up a Virtual Environment (Optional but recommended)
python3 -m venv venv
- Activate the Virtual Environment
- On macOS and Linux:
source venv/bin/activate
- On Windows
.\venv\Scripts\activate
- Install Required Libraries
pip install -r requirements.txt
- Run the script
python3 search_analysis.py
-
Follow the on-screen prompts to select a Google TLD and enter your keywords.
-
View the pie chart that displays the overlap of URLs in the search results for both keywords.
-
Choose whether to run the script again or exit.
- Script by Mark Williams Cook
- Web: https://withcandour.co.uk
- Twitter: https://twitter.com/markcandour
- LinkedIn: https://www.linkedin.com/in/markseo/
- If you could also get a subscription to AlsoAsked.com that would be great, thx.