From 72aea198538eecfc1213d145e8468dcb14261838 Mon Sep 17 00:00:00 2001 From: derrod Date: Sun, 5 Sep 2021 08:40:12 +0200 Subject: [PATCH] [api] Add version to API urls --- legendary/api/lgd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/api/lgd.py b/legendary/api/lgd.py index b8ea0b3..8275f81 100644 --- a/legendary/api/lgd.py +++ b/legendary/api/lgd.py @@ -18,7 +18,7 @@ class LGDAPI: self.session.headers['User-Agent'] = self._user_agent def get_version_information(self): - r = self.session.get(f'https://{self._api_host}/version.json', + r = self.session.get(f'https://{self._api_host}/v1/version.json', timeout=10.0) r.raise_for_status() return r.json()