Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elliotgao2/htmlie

HTMLie is a command line HTML Parser.
https://github.com/elliotgao2/htmlie

command-line html parser

Last synced: 2 months ago
JSON representation

HTMLie is a command line HTML Parser.

Awesome Lists containing this project

README

        

# HTMLie

HTMLie is a command line HTML Parser.

## Installation

`pip install htmlie`

## Usage

html [css selectors][:attr]

- css selectors: The same as jquery css selector.
- attr: text, html, outer_html, href, src, etc. Anything in the HTML tag.

```
$ http example.com | html title
$ curl example.com | html title
$ cat index.html | html a :href
```