Add data cookie domain

This commit is contained in:
itzaname 2020-09-07 22:45:43 -04:00
parent 0a3e6e5b8e
commit f16da548b6

View File

@ -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,
}