       (by-fn html-tree #(= (tag %) x)))
 
 (defn get-content [html-tree x]
-      (let [[tag-element attributes-element content-element] x]
+      (let [[tag-element attributes-element content-element] html-tree]
            content-element))
 
 (defn get-attribute [html-tree x]

(defn build-zone-modifiers [url]
  (by-tag (second (by-tag (first (by-attribute (parse url) {:class "factionTable"})) :tr)) :ul))

(defn -main
  "Entry point to scraper methods. Pulls in data from project1999's wiki to insert into an SQLite DB."
  [& args]

        urls (map #(:href (first (vals %))) the-factions)
        urls (build-all-faction-urls urls)]

    (by-tag (first (build-zone-modifiers (first urls))) :li)
    ;(assoc test-map :zones-raise (get-content (by-tag (first (build-zone-modifiers (first urls))) :li) nil)
    ;                :zones-lower (get-content (by-tag (second (build-zone-modifiers (first urls))) :li) nil))

    ;(by-tag (second (by-tag (first (by-attribute (parse (first urls)) {:class "factionTable"})) :tr)) :ul)
    ;(doall (map #(into {} {:zones-raise get-faction-info urls))
      ;(doall (map get-faction-info url)))
