Liking cljdoc? Tell your friends :D

arachne.core


defcrawlercljmacro

(defcrawler name type roots & opts)

Defines a crawler.

Defines a crawler.
raw docstring

defparsercljmacro

(defparser parser-name args body & opts)

Defines a parser. An optional preprocessing function can be provided using the :pre keyword argument.

Defines a parser. An optional preprocessing function can be provided
using the `:pre` keyword argument.
raw docstring

defparser-simplecljmacro

(defparser-simple parser-name args bindings & opts)

Defines a parser. The supplied bindings are available in the forms at the :requests and :items keyword arguments. At least one of these needs to be defined for the parser to be valid.

Defines a parser. The supplied bindings are available in the forms
at the `:requests` and `:items` keyword arguments. At least one of
these needs to be defined for the parser to be valid.
raw docstring

enlive-enabled?clj


parser-resultclj

(parser-result requests items)

Returns a representation of parser results. This function is the way a parser should return its extracted values.

Returns a representation of parser results. This function is the way
a parser should return its extracted values.
raw docstring

pre-enliveclj

(pre-enlive resp)

requestclj

(request url parser & {:keys [meta] :as args})

Returns a request map corresponding to the parser applied to a GET request to the url.

Returns a request map corresponding to the parser applied to a GET
request to the url.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close