Liking cljdoc? Tell your friends :D

itsy.core

Tool used to crawl web pages with an aritrary handler.

Tool used to crawl web pages with an aritrary handler.
raw docstring

add-workerclj

(add-worker config)

Given a config object, add a worker to the pool, returns the new worker count.

Given a config object, add a worker to the pool, returns the new
worker count.
sourceraw docstring

crawlclj

(crawl options)

Crawl a url with the given config.

Crawl a url with the given config.
sourceraw docstring

default-http-optsclj

source

enqueue-urlclj

(enqueue-url config url)

Enqueue the url assuming the url-count is below the limit and we haven't seen this url before.

Enqueue the url assuming the url-count is below the limit and we haven't seen
this url before.
sourceraw docstring

enqueue-urlsclj

(enqueue-urls config urls)

Enqueue a collection of urls for work

Enqueue a collection of urls for work
sourceraw docstring

extract-allclj

(extract-all original-url body)

Dumb URL extraction based on regular expressions. Extracts relative URLs.

Dumb URL extraction based on regular expressions. Extracts relative URLs.
sourceraw docstring

noopclj

(noop & _)

handler that does nothing

handler that does nothing
sourceraw docstring

palmclj

(palm {:keys [url body]})

It's a HAND-ler.. get it? That was a terrible pun.

It's a HAND-ler.. get it? That was a terrible pun.
sourceraw docstring

remove-workerclj

(remove-worker config)

Given a config object, remove a worker from the pool, returns the new worker count.

Given a config object, remove a worker from the pool, returns the new
worker count.
sourceraw docstring

start-workerclj

(start-worker config)

Start a worker thread for a config object, updating the config's state with the new Thread object.

Start a worker thread for a config object, updating the config's state with
the new Thread object.
sourceraw docstring

stop-workersclj

(stop-workers config)

Given a config object, stop all the workers for that config.

Given a config object, stop all the workers for that config.
sourceraw docstring

terminatedclj

source

thread-statusclj

(thread-status config)

Return a map of threadId to Thread.State for a config object.

Return a map of threadId to Thread.State for a config object.
sourceraw docstring

url-regexclj

source

valid-url?clj

(valid-url? url-str)

Test whether a URL is valid, returning a map of information about it if valid, nil otherwise.

Test whether a URL is valid, returning a map of information about it if
valid, nil otherwise.
sourceraw docstring

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

× close