https://github.com/rickdgeerling/html2json
Small example CLI application - HTML crawler that outputs JSON
https://github.com/rickdgeerling/html2json
Last synced: 3 months ago
JSON representation
Small example CLI application - HTML crawler that outputs JSON
- Host: GitHub
- URL: https://github.com/rickdgeerling/html2json
- Owner: rickdgeerling
- License: mit
- Created: 2019-07-25T19:45:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T03:39:16.000Z (about 4 years ago)
- Last Synced: 2025-04-10T19:39:02.610Z (3 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTML2JSON
Small CLI utility to extract data from HTML
## Usage
```sh
npm install --global tuxmachine/html2json
html2json '#selector' test.html
html2json '.items > li' http://example.org
cat test.html | html2json '#selector'
```