outlink-extractor
A small Python tool to quickly extract outbound links from any given URL and export them into a CSV file.
Developed by: Amal Alexander
Email: amalalex95@gmail.com
Features
- Simple CLI command.
- Fetches a web page and parses all
<a>tags. - Filters only external (outbound) links.
- Exports results to
outlink.csv(or a custom file name) in the current directory.
Each row in the CSV contains:
href– Absolute URL of the outbound linkanchor_text– Cleaned anchor textrel– rel attribute value (if present)target– target attribute value (if present)
Installation
You can install it locally from the source:
pip install .
Or, if you have the ZIP file:
pip install outlink-extractor.zip
(Replace with the actual path to your ZIP.)
Usage
After installation, run from your terminal:
outlink-extractor https://example.com
This will create outlink.csv in the current directory.
You can also specify a custom output file:
outlink-extractor https://example.com -o my-outlinks.csv
Notes
- Requires Python 3.8+
- Uses
requestsandbeautifulsoup4under the hood. - Intended for quick SEO checks, audits, and outbound link analysis.
Metadata
Release files for outlink-extractor 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| outlink_extractor-0.1.2.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| outlink_extractor-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / outlink_extractor-0.1.2.tar.gz
| Download URL | outlink_extractor-0.1.2.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
852b7ae982d9bc3e830f4d1db98c2f0e921fcaf5ad2bf3ceed7306933068b968
|
|
BLAKE2b-256 checksum How to use checksums |
b5c728fe6f145ac17cb9863b4c906c4855d14f5688d0cabb4639f902f905445a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / outlink_extractor-0.1.2-py3-none-any.whl
| Download URL | outlink_extractor-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50cb30bd4face949bf59d7e171c6235f7cb6f3c8a9ad5ee8af743e560d1905b1
|
|
BLAKE2b-256 checksum How to use checksums |
7757e0ad908c513f9d6e7883b5109a9fe79baf13bc79d38eab831fb31df98a92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|