diff --git a/VERSION b/VERSION index b0fca486..210cfd84 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.0-build35 +2.1.0-build36 diff --git a/modules/mdblist.py b/modules/mdblist.py index 4a2f1e73..8739d57c 100644 --- a/modules/mdblist.py +++ b/modules/mdblist.py @@ -88,12 +88,16 @@ class MDBList: try: response = self._request(f"{api_url}user") logger.trace(f"MDB response: {response}") + self.supporter = response["limits"]["supporter"] logger.info(f"Supporter Key: {self.supporter}") + self.rating_id_limit = response["limits"]["rating_ids"] # logger.info(f"Rating ID limit: {self.rating_id_limit}") + self.api_limit = response["limits"]["api_requests"] logger.info(f"Daily API requests: {self.api_limit}") + self.get_item(imdb_id="tt0080684", ignore_cache=True) except LimitReached: logger.info(f"MDBList API limit exhausted")