-
Notifications
You must be signed in to change notification settings - Fork 691
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
UnicodeEncodeError: 'ascii' codec can't encode character '\xa9' in position 50: ordinal not in range(128) #16
Comments
Can I support you with any kind of more details? |
I haven't used this script but the solution to that error is this: so, briefly call .encode('utf-8') method for the string the code is printing. replace this:
and this one:
with this one:
I hope this works |
I have the same error: [#] Unhandled Exception: 'ascii' codec can't encode character '\xa9' in position 241: ordinal not in range(128) (type: UnicodeEncodeError) Yesterday everything worked. I don't know what happened today |
Hi Lorenzo thanks for the tool, [*] Retrieving book info... Log Please let us know if more info is required. |
I pulled the new version now I'm getting the following error: python3 safaribooks.py 9781491958698 Original exception was: |
Please reopen Now I'm getting the following error, is this solution working for you? python3 safaribooks.py 9781491958698 Original exception was: |
@lorenzodifuccia heres the log from the issue i opened: |
It is work like a charm. Already downloaded the book... |
Try |
It works !! |
I am getting error during downloading book.
Python 3.5.3
The text was updated successfully, but these errors were encountered: