I'm trying to request:
Shrine: steam.live.bhvrdbd.com/api/v1/extensions/shrine/getAvailable (POST)
Config: steam.live.bhvrdbd.com/api/v1/config (GET)
Currencies: steam.live.bhvrdbd.com/api/v1/wallet/currencies (GET)
Outfits: steam.live.bhvrdbd.com/api/v1/extensions/store/getOutfits (POST)
Code:
USER_AGENT = "DeadByDaylight/++DeadByDaylight+Live-CL-329560 Windows/10.0.19041.1.768.64bit"
def login(branch, version):
req = URL + /api/v1/auth/login/guest
body = { "clientData": {"catalogId": selectedVersion, "gameContentId": selectedVersion, "consentId": selectedVersion }}
cookie_jar = requests.post(req, headers={"User-Agent": USER_AGENT, 'x-kraken-content-secret-key': KEY}, json=body, verify=False).cookies
return requests.utils.dict_from_cookiejar(cookie_jar)
if shrine:
res = requests.post(url, cookies=session_cookie, json={"data":{"version":"steam"}}, headers={'x-kraken-client-platform': 'steam'}, verify=False).json()
elif outfits:
res = requests.post(url, cookies=session_cookie, json={"data":{}}, verify=False).json()
else:
res = requests.get(url, cookies=session_cookie, verify=False).json()
A few days ago it worked for me, but I don't know what they have changed, if someone could help me, I appreciate it, I get error 403. Could someone with time take a look at it? Thank you!