lmbringas / packtpub-downloader

Script to download all your books from PacktPub inspired by https://github.com/ozzieperez/packtpub-library-downloader
267 stars 84 forks source link

KeyError: 'count' #37

Open G66K-CODE opened 3 years ago

G66K-CODE commented 3 years ago

packtpub-downloader | You are in! packtpub-downloader | Traceback (most recent call last): packtpub-downloader | File "/app/main.py", line 226, in packtpub-downloader | main(sys.argv[1:]) packtpub-downloader | File "/app/main.py", line 198, in main packtpub-downloader | books = get_books(user, is_verbose=verbose, is_quiet=quiet) packtpub-downloader | File "/app/main.py", line 41, in get_books packtpub-downloader | print(f'You have {str(r.json()["count"])} books') packtpub-downloader | KeyError: 'count'

KemeleGT commented 3 years ago

Same error here Anyone knows how i can go about this? ?@imbringas

BarehSolok commented 2 years ago

you got this message because you do not own any products