Description
there is an error when application try to use API, I think something it's changed side packtpub and it's necessary an upgrade...
You are in! URL: https://services.packtpub.com/entitlements-v1/users/me/products?sort=createdAt:DESC&offset=0&limit=10 Traceback (most recent call last): File "E:\git\packtpub-downloader\main.py", line 244, in <module> main(sys.argv[1:]) File "E:\git\packtpub-downloader\main.py", line 202, in main books = get_books(user, is_verbose=verbose, is_quiet=quiet) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\git\packtpub-downloader\main.py", line 44, in get_books print(f'You have {str(r.json()["count"])} books') ~~~~~~~~^^^^^^^^^ KeyError: 'count' You are in! URL: https://services.packtpub.com/entitlements-v1/users/me/products?sort=createdAt:DESC&offset=0&limit=10 {'message': 'Internal Server Error', 'errorCode': 4000027, 'errorId': '************************'}
could you help me?