mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-09-23 01:22:17 +02:00
Add hrti
This commit is contained in:
@@ -370,6 +370,11 @@ class HRTiAuthenticator(BaseAuthenticator):
|
||||
headers=headers,
|
||||
data=json.dumps(payload)
|
||||
)
|
||||
|
||||
logger.debug(f"Device registration response status: {response.status_code}")
|
||||
logger.debug(f"Device registration response headers: {dict(response.headers)}")
|
||||
logger.debug(f"Device registration response content: {response.text}")
|
||||
|
||||
response.raise_for_status()
|
||||
|
||||
# Log successful response
|
||||
|
||||
@@ -47,7 +47,7 @@ class HRTiDefaults:
|
||||
CLIENT_TYPE = 'Chrome 142'
|
||||
|
||||
# User Agent
|
||||
USER_AGENT = 'kodi plugin for hrti.hrt.hr (python)'
|
||||
USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36'
|
||||
|
||||
# HTTP settings
|
||||
DEFAULT_TIMEOUT = 30
|
||||
|
||||
Reference in New Issue
Block a user