mirror of
https://github.com/zedeus/nitter
synced 2026-10-26 20:53:25 +00:00
parent
404b06b5f3
commit
b83227aaf5
7 changed files with 77 additions and 39 deletions
|
|
@ -21,7 +21,7 @@ proc parseUser(js: JsonNode; id=""): User =
|
|||
tweets: js{"statuses_count"}.getInt,
|
||||
likes: js{"favourites_count"}.getInt,
|
||||
media: js{"media_count"}.getInt,
|
||||
protected: js{"protected"}.getBool,
|
||||
protected: js{"protected"}.getBool(js{"privacy", "protected"}.getBool),
|
||||
joinDate: js{"created_at"}.getTime
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue