diff --git a/src/llar/fetch/hackernews.clj b/src/llar/fetch/hackernews.clj index f8c3bd3..0472392 100644 --- a/src/llar/fetch/hackernews.clj +++ b/src/llar/fetch/hackernews.clj @@ -132,7 +132,7 @@ hn-url (uri/uri (str +hn-item-url-prefix+ objectID))] {:score points :num-comments num_comments - :author author + :authors [author] :id objectID :type (hn-type hit) :pub-ts (fetchutils/parse-timestamp :iso-date-time created_at) diff --git a/src/llar/fetch/http.clj b/src/llar/fetch/http.clj index cc3f37c..4f8f2cb 100644 --- a/src/llar/fetch/http.clj +++ b/src/llar/fetch/http.clj @@ -47,7 +47,7 @@ {:pub-ts (:ts summary) :url url :title (:title summary) - :authors "" + :authors [""] :descriptions {"text/plain" body} :contents {"text/html" body "text/plain" (conv/html2text body)}} @@ -86,7 +86,7 @@ {:pub-ts (:ts summary) :url url :title (:title summary) - :authors "" + :authors [""] :descriptions {"text/plain" body} :contents {"text/html" body "text/plain" (conv/html2text body)}}