Merge branch 'master' of https://github.com/zedeus/nitter
このコミットが含まれているのは:
コミット
6d36195756
|
@ -33,7 +33,7 @@ proc parseGraphUser(js: JsonNode): User =
|
||||||
result = parseUser(user{"legacy"})
|
result = parseUser(user{"legacy"})
|
||||||
|
|
||||||
if "is_blue_verified" in user:
|
if "is_blue_verified" in user:
|
||||||
result.verified = true
|
result.verified = user{"is_blue_verified"}.getBool()
|
||||||
|
|
||||||
proc parseGraphList*(js: JsonNode): List =
|
proc parseGraphList*(js: JsonNode): List =
|
||||||
if js.isNull: return
|
if js.isNull: return
|
||||||
|
@ -490,6 +490,10 @@ proc parseGraphTimeline*(js: JsonNode; root: string; after=""): Timeline =
|
||||||
if not tweet.available:
|
if not tweet.available:
|
||||||
tweet.id = parseBiggestInt(entryId.getId())
|
tweet.id = parseBiggestInt(entryId.getId())
|
||||||
result.content.add tweet
|
result.content.add tweet
|
||||||
|
elif entryId.startsWith("profile-conversation") or entryId.startsWith("homeConversation"):
|
||||||
|
let (thread, self) = parseGraphThread(e)
|
||||||
|
for tweet in thread.content:
|
||||||
|
result.content.add tweet
|
||||||
elif entryId.startsWith("cursor-bottom"):
|
elif entryId.startsWith("cursor-bottom"):
|
||||||
result.bottom = e{"content", "value"}.getStr
|
result.bottom = e{"content", "value"}.getStr
|
||||||
|
|
||||||
|
|
新しいイシューから参照