Skip to content

Commit

Permalink
Merge pull request #6 from doronz88/bugfix/gzip
Browse files Browse the repository at this point in the history
catalog: remove gzip decompression
  • Loading branch information
doronz88 authored Mar 11, 2024
2 parents e5dca9f + d3fd1a2 commit c985ce6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions applecatalog/catalog.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import datetime
import gzip
import logging
import plistlib
from collections import namedtuple
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c985ce6

Please sign in to comment.