From bddb6df5677a303fe3fa9154ab74fb90c4f151a9 Mon Sep 17 00:00:00 2001 From: Zed Date: Sun, 19 Jan 2020 12:31:52 +0100 Subject: [PATCH] Revert guest id workaround for now Needs more testing --- src/api/utils.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/utils.nim b/src/api/utils.nim index fa2c75b..9c3873a 100644 --- a/src/api/utils.nim +++ b/src/api/utils.nim @@ -18,7 +18,7 @@ proc genHeaders*(headers: openArray[tuple[key: string, val: string]]; if auth: result["authority"] = "twitter.com" if lang: result["accept-language"] = consts.lang if xml: result["x-requested-with"] = "XMLHttpRequest" - if guestId: result["cookie"] = guestIdCookie + # if guestId: result["cookie"] = guestIdCookie for (key, val) in headers: result[key] = val