1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-04-12 08:42:17 -04:00

Add experimental x-client-transaction-id support (#1324)

* Add experimental x-client-transaction-id support

* Remove broken test
This commit is contained in:
Zed
2025-11-29 01:13:08 +01:00
committed by GitHub
parent dae68b4f13
commit 31d210ca47
13 changed files with 239 additions and 157 deletions

View File

@@ -0,0 +1,8 @@
import jsony
import ../types/tid
export TidPair
proc parseTidPairs*(raw: string): seq[TidPair] =
result = raw.fromJson(seq[TidPair])
if result.len == 0:
raise newException(ValueError, "Parsing pairs failed: " & raw)

View File

@@ -0,0 +1,4 @@
type
TidPair* = object
animationKey*: string
verification*: string