1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-06 03:55:36 -05:00

Use graphTweet for cookie sessions for now

This commit is contained in:
Zed
2025-11-30 02:57:34 +01:00
parent 064ec88080
commit 4b9aec6fde

View File

@@ -42,7 +42,8 @@ proc userTweetsAndRepliesUrl(id: string; cursor: string): ApiReq =
proc tweetDetailUrl(id: string; cursor: string): ApiReq = proc tweetDetailUrl(id: string; cursor: string): ApiReq =
let cookieVars = tweetDetailVars % [id, cursor] let cookieVars = tweetDetailVars % [id, cursor]
result = ApiReq( result = ApiReq(
cookie: apiUrl(graphTweetDetail, cookieVars, tweetDetailFieldToggles), # cookie: apiUrl(graphTweetDetail, cookieVars, tweetDetailFieldToggles),
cookie: apiUrl(graphTweet, tweetVars % [id, cursor]),
oauth: apiUrl(graphTweet, tweetVars % [id, cursor]) oauth: apiUrl(graphTweet, tweetVars % [id, cursor])
) )