require しとく
(ns myns
(:require [net.cgrand.enlive-html :as enlive]))
URLオブジェクトを渡せば勝手に取ってきてくれる。HTTP Client 要らずで手軽。
(-> "https://github.com/"
java.net.URL.
enlive/html-resource
(enlive/select [:title])
first :content first)
;=> "GitHub - Social Coding"