mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 23:25:35 +00:00
Replace spaces in list name
This commit is contained in:
parent
1d0f95b79d
commit
48aa8d8e48
|
@ -59,7 +59,7 @@ proc parseGraphList*(js: JsonNode): List =
|
|||
|
||||
result = List(
|
||||
id: list{"id_str"}.getStr,
|
||||
name: list{"name"}.getStr,
|
||||
name: list{"name"}.getStr.replace(' ', '-'),
|
||||
username: list{"user", "legacy", "screen_name"}.getStr,
|
||||
userId: list{"user", "legacy", "id_str"}.getStr,
|
||||
description: list{"description"}.getStr,
|
||||
|
|
Loading…
Reference in a new issue