aborruso/scrape-cli

Extract HTML elements from the command line using CSS selectors or XPath. Pipe-friendly Python CLI.

38
/ 100
Emerging

This tool helps developers and data engineers quickly pull specific information from HTML content, such as web pages. You feed it HTML, either from a file or directly piped from a web request, along with a CSS selector or XPath query. It then returns the matching HTML elements or their plain text content, which can be further processed or converted to JSON.

Available on PyPI.

Use this if you need to extract structured data or text snippets from HTML documents using command-line tools and prefer working with standard selectors.

Not ideal if you need a full-fledged web crawling framework that manages sessions, handles JavaScript rendering, or requires complex interaction with web forms.

web-scraping data-extraction command-line-tooling data-pipeline html-parsing
No License
Maintenance 10 / 25
Adoption 7 / 25
Maturity 17 / 25
Community 4 / 25

How are scores calculated?

Stars

25

Forks

1

Language

HTML

License

Category

scraper

Last pushed

Feb 22, 2026

Commits (30d)

0

Dependencies

3

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/perception/aborruso/scrape-cli"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.