mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Rework list api
This commit is contained in:
parent
51c6605d3f
commit
35bb5f9132
7 changed files with 38 additions and 36 deletions
|
|
@ -73,7 +73,7 @@ proc parseGraphList*(js: JsonNode): List =
|
|||
|
||||
result = List(
|
||||
id: list{"id_str"}.getStr,
|
||||
name: list{"name"}.getStr.replace(' ', '-'),
|
||||
name: list{"name"}.getStr,
|
||||
username: list{"user", "legacy", "screen_name"}.getStr,
|
||||
userId: list{"user", "legacy", "id_str"}.getStr,
|
||||
description: list{"description"}.getStr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue