 (defn iplayer-search
   "run external command with given args list."
   [search-title]
-  (split-lines (:out (apply sh (flatten (conj (list search-title) iplayer-command))))))
+  (split-lines (:out (apply sh (flatten
+                                (conj (list search-title) iplayer-command))))))
 
 (def iplayer-info
   '("get_iplayer" "-i"))

  (split-lines (:out (apply sh (flatten (conj (list index) iplayer-info))))))

(defn get-thumb-from-search
  "find thumbnail-url in string."
  [str]
  (re-find #"http.*jpg" str))


















        [net.cgrand.enlive-html :as html]
        [clojure.java.shell :only [sh]]
        [compojure.core]
        [clojure.string :as str :only [split-lines ]]))


(def iplayer-command
