Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/elliotgao2/htmlie
- Owner: elliotgao2
- Created: 2019-08-06T03:48:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-06T03:49:33.000Z (over 5 years ago)
- Last Synced: 2024-09-05T08:37:25.409Z (5 months ago)
- Topics: command-line, html, parser
- Language: Python
- Size: 1000 Bytes
- Stars: 13
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```