mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Fix for epic authentication API changes
This commit is contained in:
parent
d6e9c5ef46
commit
d3026672d1
|
@ -108,6 +108,7 @@ class LegendaryCore:
|
|||
'UnrealEngine/4.23.0-14907503+++Portal+Release-Live '
|
||||
'Chrome/84.0.4147.38 Safari/537.36'
|
||||
})
|
||||
s.cookies['EPIC_COUNTRY'] = self.country_code.upper()
|
||||
|
||||
# get first set of cookies (EPIC_BEARER_TOKEN etc.)
|
||||
_ = s.get('https://www.epicgames.com/id/api/set-sid', params=dict(sid=sid))
|
||||
|
|
Loading…
Reference in a new issue