From f16da548b67324d5b3688fcdf5483d596d546248 Mon Sep 17 00:00:00 2001 From: itzaname Date: Mon, 7 Sep 2020 22:45:43 -0400 Subject: [PATCH] Add data cookie domain --- session.go | 1 + 1 file changed, 1 insertion(+) diff --git a/session.go b/session.go index b32979a..c81bfe5 100644 --- a/session.go +++ b/session.go @@ -25,6 +25,7 @@ func New(cookie string) (*Session, error) { cookieJar.SetCookies(&url.URL{Scheme: "http", Host: "www.roblox.com"}, rbxCookie) cookieJar.SetCookies(&url.URL{Scheme: "http", Host: "api.roblox.com"}, rbxCookie) cookieJar.SetCookies(&url.URL{Scheme: "https", Host: "economy.roblox.com"}, rbxCookie) + cookieJar.SetCookies(&url.URL{Scheme: "https", Host: "data.roblox.com"}, rbxCookie) client := &http.Client{ Jar: cookieJar, }