Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
HTML parsing library for Clojure
Clojure
Branch: master

This branch is 8 commits behind weavejester:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/crouton
test/crouton/test
.gitignore
README.md
project.clj

README.md

Crouton

Crouton is a HTML parsing library for Clojure that uses JSoup.

Installation

Add the following dependency to your project.clj file:

[crouton "0.1.0"]

Usage

Crouton provides a way of parsing a HTML file from a slurp-able source:

(require '[crouton.html :as html])

(html/parse "http://example.com")

The parsed result is a DOM tree compatible with that produced by clojure.xml/parse.

License

Copyright © 2012 James Reeves

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.