NitroWebfetch
Extract web content, cleanly.
NitroWebfetch – the developer‑friendly web content extractor with CSS selectors.
This project is in alpha phase.
Features
- Extracts content from web pages using CSS selectors
- Converts HTML to clean Markdown format
- Fallback selectors for maximum compatibility
- Command-line interface with various options
- Built on Playwright for reliable web scraping
- Completely free (open source, MIT license)
Ideas for next steps
- Add support for multiple output formats (JSON, plain text)
- Batch processing for multiple URLs
- Custom user-agent and headers configuration
- Integration with NitroDigest for web page summarization
- Support for authentication and cookies
- Content filtering and cleaning options
Usage
Prerequisites
To run this tool, you need to have Python installed on your local machine.
Installation
Install NitroWebfetch via pip:
pip install nitrowebfetch-cli
playwright install firefox
For development installation:
cd Projects/Nitrowebfetch
pip install -e .
playwright install firefox
Basic Usage
Run NitroWebfetch to extract content from web pages:
nitrowebfetch <url> > <output_file>
Examples
Extract article content from a webpage and save it to a file:
nitrowebfetch https://example.com/article > article.md
Extract content using a custom CSS selector:
nitrowebfetch https://example.com --selector ".main-content" > content.md
Get HTML output instead of Markdown:
nitrowebfetch https://example.com --format html > content.html
Command Line Arguments
You can customize the extraction process using command line arguments:
nitrowebfetch \
--selector ".article-body" \
--format md \
https://example.com
Available arguments:
url: URL to fetch content from (required)--selector: CSS selector to use for content extraction (default: article)--format: Format of output content - 'md' for Markdown or 'html' for raw HTML (default: md)
Fallback Selectors
If the primary selector doesn't match any elements, NitroWebfetch automatically tries these alternatives:
articlemain.article.content#content.post.entry-content
Contributing
Do you want to contribute to this tool? Check the Contributing page:
Report an issue
Found an issue? You can easily report it here:
https://github.com/Frodigo/garage/issues/new
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for nitrowebfetch-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nitrowebfetch_cli-0.1.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nitrowebfetch_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / nitrowebfetch_cli-0.1.0.tar.gz
| Download URL | nitrowebfetch_cli-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5248c0cb19a36c24272cbb81e573df63c615971a4f70c9ed747f7c51acfa3764
|
|
BLAKE2b-256 checksum How to use checksums |
03f5f9a7ef65b86fd3945363f00c68b77e7d95d33b09673a9147043d617a36b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 15, 2025.
Transparency logRelease files / nitrowebfetch_cli-0.1.0-py3-none-any.whl
| Download URL | nitrowebfetch_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bdcc1f4cafa3f9f89527367f870053555e02411da8830a067ad62d1c5cf1794
|
|
BLAKE2b-256 checksum How to use checksums |
19fa5007a90186892f190b9e83ffa35e6d983e31a47d8311571687cb1098f615
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 15, 2025.
Transparency log