https://github.com/bschwind/html-parser
A small Clojure wrapper for the JSoup Java library. Intended to simply consume an HTML string and allow for CSS queries
https://github.com/bschwind/html-parser
Last synced: about 1 year ago
JSON representation
A small Clojure wrapper for the JSoup Java library. Intended to simply consume an HTML string and allow for CSS queries
- Host: GitHub
- URL: https://github.com/bschwind/html-parser
- Owner: bschwind
- License: mit
- Created: 2015-02-02T06:24:47.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-02T06:52:16.000Z (over 11 years ago)
- Last Synced: 2025-03-20T17:51:46.416Z (about 1 year ago)
- Language: Clojure
- Size: 160 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# html-parser
[](http://clojars.org/org.clojars.bschwind/html-parser)
A small Clojure wrapper for the JSoup Java library. Intended to simply consume an HTML string and allow for CSS queries
Installation
------------
Add `[org.clojars.bschwind/html-parser "0.1.0"]` to your dependencies in `project.clj`.
Usage
-----
```
(def doc (document-from-string "Your HTML here"))
(println (select doc "html")))
```