mirror of
https://github.com/derrod/legendary.git
synced 2025-01-03 04:45:28 +00:00
[api/downloader] Update user-agent
This commit is contained in:
parent
d6abbcc694
commit
0a41a043ac
|
@ -10,7 +10,7 @@ from legendary.models.exceptions import InvalidCredentialsError
|
||||||
|
|
||||||
|
|
||||||
class EPCAPI:
|
class EPCAPI:
|
||||||
_user_agent = 'UELauncher/10.13.1-11497744+++Portal+Release-Live Windows/10.0.18363.1.256.64bit'
|
_user_agent = 'UELauncher/10.16.0-13286290+++Portal+Release-Live Windows/10.0.18363.1.256.64bit'
|
||||||
# required for the oauth request
|
# required for the oauth request
|
||||||
_user_basic = '34a02cf8f4414e29b15921876da36f9a'
|
_user_basic = '34a02cf8f4414e29b15921876da36f9a'
|
||||||
_pw_basic = 'daafbccc737745039dffe53d94fc76cf'
|
_pw_basic = 'daafbccc737745039dffe53d94fc76cf'
|
||||||
|
|
|
@ -22,7 +22,7 @@ class DLWorker(Process):
|
||||||
self.o_q = out_queue
|
self.o_q = out_queue
|
||||||
self.session = requests.session()
|
self.session = requests.session()
|
||||||
self.session.headers.update({
|
self.session.headers.update({
|
||||||
'User-Agent': 'EpicGamesLauncher/10.14.2-12166693+++Portal+Release-Live Windows/10.0.18363.1.256.64bit'
|
'User-Agent': 'EpicGamesLauncher/10.16.0-13286290+++Portal+Release-Live Windows/10.0.18363.1.256.64bit'
|
||||||
})
|
})
|
||||||
self.max_retries = max_retries
|
self.max_retries = max_retries
|
||||||
self.shm = SharedMemory(name=shm)
|
self.shm = SharedMemory(name=shm)
|
||||||
|
|
Loading…
Reference in a new issue