Keyword Cannibalization Detector
Detects when multiple pages on the same site target the same keywords, causing them to compete against each other in search results.
Install
pip install -r requirements.txtRun
python keyword_cannibalization.py --urls https://site.com/page1 https://site.com/page2 --output cannibalization.xlsxpython keyword_cannibalization.py --files page1.html page2.html page3.html --threshold 0.6Export
Add --output report.xlsx to save results as a spreadsheet.
| Flag | Description |
|---|---|
--urls | Page URLs from same site. Multiple values allowed |
--files | Local HTML files. Multiple values allowed |
--threshold | Threshold. Default: 0.5 (decimal) |
--output | Save as XLSX |
python keyword_cannibalization.py --helpRun before creating content. Use the output to plan which terms to target, group into clusters, and prioritize by difficulty. Export to XLSX and share with your content team.
Deliver keyword research as a paid service. Run the tool on a client's niche, export results, and present clusters as a content roadmap. Charge $100-300 per research package.
Analyze what keywords competitors rank for that you're missing. Feed the output into your content calendar to close gaps systematically.
Combine with other tools for a complete workflow:
Requires: beautifulsoup4, numpy, pandas, requests, scikit-learn. All included in requirements.txt.
Get all 154 Python SEO tools — $49
One-time payment. Lifetime access. No monthly fees.
Learn 25 tools and get 25% back. Earn from client work and get 50% back.
AAIO Inc — aaioinc.com/tools/keyword_cannibalization/