-
Notifications
You must be signed in to change notification settings - Fork 48
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
Feature request: Logging output #174
Comments
Whilst I can't know for certain for your library. In my testing 404 errors indicate that the item you're trying to download is simply not downloadable. If you would like to try the tool and simply exclude comics to ensure that non-comics are being downloaded as expected, you can try editing these lines to remove anything referencing comics. I.e. Comixoloy, ComicsUnlimited |
I have a library of about 2500 items and when I ran the download I had 10 fail. I actually came to report that I'd suggest a log for failed downloads. It's not impossible to scroll back and figure it out manually but it's a drag. The underlying issue for me on the download is they're apparently enhanced files of some sort that won't display on a standard kindle. They're not comics; I've got tons of them downloaded correctly. Here's one that failed - Developing Graphics Frameworks with Python and OpenGL 1st Edition, Kindle Edition. It's whatever enhancements the file has that prevent it from downloading. Or rather, that Amazon won't let you download it for sideloading unless they know you have such a device. ![]() Here's the explanatory information on the info page for the OpenGL book: ![]() I'm going to see if I can find an older kindle fire around and add it to my account. I'm not sure there's much for you to do with regards to this sort of issue other than log it so users can go try other solutions. Update: I found a Kindle FIre 10 and registered it and now most of those files can be downloaded. I did find one that is a purchase from 2013 that no longer has a landing page and three that were Kindle Vella. Of the six that I could download four were azw3 files and two were azw4 files. |
For what it's worth, a large fraction of my Kindle books are comics, and they downloaded fine. (Choosing my 8-ish year old Kindle paperwhite). |
I found a way to log the output to a file as well as the console.
Here is a powershell script that outputs the data to a file as well as the console:
A RegEx that cleans up most of the "process bar" stuff in the log using the VS Code "Replace" function is: A RegEx that cleans up most of the "Escape Sequence" stuff in the log using the VS Code "Replace" function is: |
This project worked great once I got my lesser used dependencies updated (node, etc). One thing I have run across because I have a large collection of comics is that I have a ton of 404 not found in my run of downloads. This makes it hard to evaluate whether there were any non-comics that did not download correctly. I do not see on your readme anything about an output log. I'm going to work around this by just running script to capture the output, but this could be a useful feature.
Thanks for your very useful application.
The text was updated successfully, but these errors were encountered: