Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not work #24

Open
SilverPro7 opened this issue Nov 9, 2019 · 1 comment
Open

not work #24

SilverPro7 opened this issue Nov 9, 2019 · 1 comment

Comments

@SilverPro7
Copy link

python main.py -e [email protected] -p nopassword -d media -b pdf,epub,mobi,code
You are in!
Traceback (most recent call last):
File "main.py", line 226, in
main(sys.argv[1:])
File "main.py", line 198, in main
books = get_books(user, is_verbose=verbose, is_quiet=quiet)
File "main.py", line 41, in get_books
print(f'You have {str(r.json()["count"])} books')
KeyError: 'count'

How to fix it?

@BurnhamG
Copy link
Contributor

Hi @SilverPro7, some other people have run into this problem, so here's a comment that should hopefully help. If this doesn't help, or you're still seeing the error after trying one or both of the links there, please let me know and I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants