mirror of
https://github.com/zedeus/nitter
synced 2026-09-25 23:09:20 +00:00
parent
4b3ad16cc8
commit
7f7092fbf5
7 changed files with 38 additions and 9 deletions
|
|
@ -61,6 +61,7 @@ proc parseGraphArticle*(json: string): Article =
|
|||
of "MEDIA":
|
||||
for mi in entry.value.data.mediaItems:
|
||||
entity.mediaIds.add mi.mediaId
|
||||
entity.caption = entry.value.data.caption
|
||||
of "TWEET": entity.tweetId = entry.value.data.tweetId
|
||||
of "MARKDOWN": entity.markdown = entry.value.data.markdown
|
||||
else: discard
|
||||
|
|
|
|||
Loading…
Reference in a new issue