Skip to content

Commit

Permalink
fetch: fix authors entry tag not being a seq
Browse files Browse the repository at this point in the history
  • Loading branch information
irq0 committed Feb 26, 2024
1 parent acefabc commit 8e9eadf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/llar/fetch/hackernews.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/llar/fetch/http.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)}}
Expand Down Expand Up @@ -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)}}
Expand Down

0 comments on commit 8e9eadf

Please sign in to comment.