Couple things. First of all you have to access www.roblox.com
and not roblox.com
. Second, you have to have a User-Agent header in order to prevent their automatic DOS protection. It has nothing to do with cookies, any page can be correctly retrieved even if you aren’t a browser.
const options = {
method: 'GET',
url: 'https://' + url,
headers: {
'User-Agent': 'Mozilla'
}
}
And I’m curious, why are you writing your own proxy when so many exist that are not only much more efficient but also much more versatile? [1][2][3]