mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 11:06:30 +00:00
Add missing entry type to entryId parser
This commit is contained in:
parent
3107ab0ab8
commit
9f5042dbd3
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ proc getEntryId*(js: JsonNode): string {.inline.} =
|
||||||
let entry = js{"entryId"}.getStr
|
let entry = js{"entryId"}.getStr
|
||||||
if entry.len == 0: return
|
if entry.len == 0: return
|
||||||
|
|
||||||
if "tweet" in entry:
|
if "tweet" in entry or "sq-I-t" in entry:
|
||||||
return entry.getId
|
return entry.getId
|
||||||
elif "tombstone" in entry:
|
elif "tombstone" in entry:
|
||||||
return js{"content", "item", "content", "tombstone", "tweet", "id"}.getStr
|
return js{"content", "item", "content", "tombstone", "tweet", "id"}.getStr
|
||||||
|
|
Loading…
Reference in a new issue