1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-01-29 06:42:50 -05:00

Add experimental GraphQL user parser

This commit is contained in:
Zed
2022-01-26 17:24:03 +01:00
parent 535f6936b9
commit ae7091e69d
6 changed files with 49 additions and 34 deletions

View File

@@ -0,0 +1,12 @@
import user
type
GraphUserResult* = object
legacy*: RawUser
restId*: string
GraphUserData* = object
result*: GraphUserResult
GraphUser* = object
data*: tuple[user: GraphUserData]

View File

@@ -19,6 +19,7 @@ type
profileBannerUrl*: string
profileImageUrlHttps*: string
profileLinkColor*: string
pinnedTweetIdsStr*: seq[string]
Entities* = object
url*: Urls