Liking cljdoc? Tell your friends :D
Clojure only.

yetibot.commands.scrape


scrapeclj

(scrape url selector attr)
source

scrape-cmdclj

(scrape-cmd {[_ url selector-and-attr] :match})

scrape <url> <selector-path> <attr> # scrape a url and select elements' text, html or attributes via jsoup. <attr> can be:

  • text - inner text of the element(s)
  • html - html of the element(s)
  • anything else - an attribute of the element(s)
scrape <url> <selector-path> <attr> # scrape a url and select elements' text, html or attributes via jsoup. <attr> can be:
- text - inner text of the element(s)
- html - html of the element(s)
- anything else - an attribute of the element(s)
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close