From d3fd1a259ce10584af5f33612892f31c6bdb3fdb Mon Sep 17 00:00:00 2001 From: DoronZ Date: Mon, 11 Mar 2024 21:54:12 +0200 Subject: [PATCH] catalog: remove gzip decompression --- applecatalog/catalog.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/applecatalog/catalog.py b/applecatalog/catalog.py index a0893ee..e8235ca 100644 --- a/applecatalog/catalog.py +++ b/applecatalog/catalog.py @@ -1,5 +1,4 @@ import datetime -import gzip import logging import plistlib from collections import namedtuple @@ -42,7 +41,7 @@ def __init__(self): self.reload() def reload(self) -> None: - self._catalog = plistlib.loads(gzip.decompress(requests.get(APPLE_SEED_URL, verify=False).content)) + self._catalog = plistlib.loads(requests.get(APPLE_SEED_URL, verify=False).content) @property def date(self) -> datetime.datetime: