Internal Link Analyzer
Crawls internal links from a page or sitemap, maps link structure, finds orphan pages, and analyzes anchor text distribution.
Install
pip install -r requirements.txtRun
python internal_link_analyzer.py --url https://example.com --depth 2 --output links.xlsxpython internal_link_analyzer.py --sitemap https://example.com/sitemap.xml --output links.xlsxExport
Add --output report.xlsx to save results as a spreadsheet.
| Flag | Description |
|---|---|
--url required | Start URL |
--depth | Crawl depth. Default: 2 (integer) |
--max-pages | Max pages to crawl. Default: 50 (integer) |
--delay | Delay between requests. Default: 1.0 (decimal) |
--output | Save as XLSX |
python internal_link_analyzer.py --helpRun as part of a comprehensive site audit. Identify problems, export to XLSX, and include specific fix recommendations in your report.
Schedule monthly runs and compare XLSX exports to track changes. Catch issues before they impact rankings.
Use the output to identify link building opportunities. Export prospects and feed into your outreach pipeline.
Combine with other tools for a complete workflow:
Requires: beautifulsoup4, pandas, requests. 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/internal_link_analyzer/