         thread-id  (get-thread-id      url)
         tdata      (get-data-helper    rows)
         replies    (map first          tdata)
+        indents    (map #(get % :indent) replies)
+        parents    (get-parent-ids indents [])
         users      (collate-users      tdata)
         data       {
                       :thread {
                         :id       thread-id
                         :replies  (map :id replies)
                       }
-                      :replies replies
+                      :replies (rm-nil-parent-id (set-parent-ids replies parents))
                       :users   users
                     }]
     (web/close)

          username     (utils/get-username    cols)
          reply        {
            :id         reply-id
            :title      reply-title
            :url        reply-url
            :post-time  post-time

      first
      (html/select link-href)
      first
      (get-in [:attrs :href])))

(defn get-reply-id
  [reply-url]
