linkgo
linkgo is a Python-based command-line tool designed to discover and extract links from web pages. It leverages DuckDuckGo Search to find initial URLs based on a query, then delves into those pages to gather all outbound links.
Features
- DuckDuckGo Search Integration: Utilizes DDGS to find relevant starting URLs for your queries.
- Comprehensive Link Extraction: Fetches web pages and parses their HTML content to extract all discoverable links.
- Command-Line Interface: Supports direct queries and output file specification via command-line arguments.
- Interactive Mode: Offers a user-friendly interactive prompt for dynamic searches.
- Colorful Output: Features an aesthetic gradient banner and colorized messages for better readability.
Installation
-
Clone the repository:
git clone https://github.com/ghostescript/linkgo cd linkgo
-
Create and activate a virtual environment: It's recommended to install dependencies in a virtual environment to avoid conflicts with system-wide packages.
python3 -m venv venv source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
Usage
Interactive Mode
Simply run the script without any arguments:
python3 linkgo.py
The tool will then prompt you to enter your search query and an optional output file.
Command-Line Mode
Provide your search query directly. You can also specify an output file using the -o or --output flag.
Example: Search for "python programming" and print results to console
python3 linkgo.py "python programming"
Example: Search for "web scraping tutorials" and save results to a file
python3 linkgo.py "web scraping tutorials" -o scraped_links.txt
Metadata
Release files for linkgo 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| linkgo-0.1.4.tar.gz | 6.5 kB | Without provenance | Details for linkgo-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| linkgo-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for linkgo-0.1.4-py3-none-any.whl |
Total release size: 12.6 kB
Release files / linkgo-0.1.4.tar.gz
| Download URL | linkgo-0.1.4.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9e247168661227500adcd9674a0e68e600e6fb57e6da0834671f124c6424726
|
|
BLAKE2b-256 checksum How to use checksums |
2dba825d27d05f859d95bb6231296e1db6619fe4b7b147c06823b6ee3013806b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / linkgo-0.1.4-py3-none-any.whl
| Download URL | linkgo-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
276cf2537c298d2849e06ffdb7d13e15e4b77731ac6b83154582851b7c8a774f
|
|
BLAKE2b-256 checksum How to use checksums |
34e260cb193f9cc2d111512ec8fb21d6a834f84dfbd95b0d9f0ee7f303802ce0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Security for linkgo 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.