mirror of
https://github.com/zedeus/nitter
synced 2024-11-22 18:07:14 +01: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 New Issue
Block a user