Monday, June 15, 2026

Links-Extractor: Extract Internal and External Links from a URL in Python

thumbnail

Links-Extractor is a small Python utility that takes a single URL and pulls out every hyperlink on the page, separating them into internal links (pointing to the same domain) and external links (pointing elsewhere).

Splitting links this way is useful for SEO audits, for finding broken or outbound links, for mapping the structure of a site, and as a starting point for a larger crawler. You give it a URL and get back two clean lists you can save or process further.

The project is open source and meant to be easy to read and adapt. It is archived on Zenodo with a citable DOI.

DOI: https://doi.org/10.5281/zenodo.20672987

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.