![]() |
#256 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
|
Quote:
When a company has an API to access their servers (whether officially documented or not) there is usually an expectation that it will not change very often. Quite often the api is used by mobile and desktop applications and if the api changes it would force users to upgrade their device. Since some users could be running on computers that are decades old, it is quite common that new versions of the app would not even install on their machine and they get locked out much to their disgust (It generates a similar reaction to the reaction people are having with the news that Overdrive are going to stop providing MP3 downloads for audiobooks). But websites are totally self-contained and can be changed in my ways without the end-user noticing. So if someone was to decode the way the website currently works, there is nothing to stop Libby from changing it. Hence you could get into a game of 'whack-a-mole' where you constantly need to update the plugin. But the effort required to work out what libby changed is sometimes much, much greater that the effort they need to put in to make the change. It gets even worse in that the website that you see may be different from the one I see. It is common for companies to test changes on some users - sometimes this is initially rolled out in one country only. Amazon are reported to regularly use A/B testing to serve different websites to different users. So if Libby are making this changes deliberately, then this is a losing strategy and whilst it is probably legal in some countries to do this for yourself, it may be illegal to publish a method that allows other people to do it (Not a lawyer.) Just to be clear, I don't have any workaround for this. |
|
![]() |
![]() |
![]() |
#257 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
|
Release v0.1.9.2 of my unofficial plugin
Available now at https://github.com/sgmoore/libby-calibre-plugin
This version should keep the token refreshed and so should hopefully do away with the need to manually retrieve a new token from the website every week. Credit for this fix should go to Orion Buske. |
![]() |
![]() |
![]() |
#258 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Onyx Note Air
|
Hi,
I’m still getting a 403 error when I try to download an ebook or magazine. Any ideas on how to resolve this? Thanks so much. Harry Quote:
|
|
![]() |
![]() |
![]() |
#259 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,537
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
![]() |
![]() |
![]() |
#260 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#261 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2024
Device: iPad
|
I can't even get the 8-digit code to work. If I enter it, click OK, and then return to the plugin, the code field is empty and is still says that "Libby is not configured yet."
I've even tried entering a code just used to transfer to the iOS app, and I get the error Spoiler:
Last edited by PeterT; 10-27-2024 at 05:55 PM. |
![]() |
![]() |
![]() |
#262 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
|
Quote:
The error you are getting is just the standard 404 message saying that it can't find the website. Can you try a few things. Browse to https://sentry.libbyapp.com/chip/clone/code. This will give you an error, but it is the type of error I am interested in (i.e 404 or 403 etc) Install the latest version v0.1.9.2 from https://github.com/sgmoore/libby-calibre-plugin It is unlikely to fix anything, but it is easier to debug if we are running the same version. Restart calibre in debug mode (You can access that from the preferences menu) and repeat the setup procedure and post the updated log. This should give more details, including the exact url that is failing. |
|
![]() |
![]() |
![]() |
#263 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
|
Quote:
You should still be able to download ebooks (but not magazines) from either the libby website or your library's overdrive website. |
|
![]() |
![]() |
![]() |
#264 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
For that matter, a function to monitor a folder for a new acsm file, then import to Calibre would be nice, if it's possible to implement without undue effort. In any event, thank you for all your work on this plugin. Last edited by foosion; 10-28-2024 at 10:47 AM. |
|
![]() |
![]() |
![]() |
#265 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
|
Is this any easier than right-clicking on the book and selecting either of the top two options?
|
![]() |
![]() |
![]() |
#266 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,537
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
The unfortunate thing is that loss of the download functionality is a pain when one's main computer is linux or a chromebook.
|
![]() |
![]() |
![]() |
#267 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
At the bottom of the libby page there's a "read with ..." and underlined epub, but clicking on epub just gives me a popup saying download a file that can be read, rather than downloading the file. I have the feeling I'm missing something. Plus, if possible, the "monitor folder for new acsm and if so download to calibre" function. EDIT: The useful links, from which I can download the acsm file, are in the form https://libbyapp.com/shelf/loans/123...012345/fulfill Last edited by foosion; 10-28-2024 at 07:12 PM. |
|
![]() |
![]() |
![]() |
#268 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jul 2013
Device: None
|
Calibre plug-in for Overdrive Libby difficulties
I am really stumped. I have downloaded the Overdrive Libby plug-in and put it in my Calibre 6.26. I know there are newer versions but this one works for me and when I do upgrades, I frequently wind up with a non-functioning software, so I haven't. When I try to put in the setup code (obtained by clicking on the Sonos button in the Libby app), I get a Calibre unhandled exception error. My Libby is installed on my smartphone. I can't tell what the problem is in the error message. I'm going to paste in the error since I don't see anyway to attach the text file. Thanks in advance for anyone who can help. The loss of the ability to download audiobooks is a really big deal for me.
calibre, version 6.26.0 ERROR: Unhandled exception: <b>ClientConnectionError</b>:<calibre_plugins.overdrive_libby.libby.error s.ClientConnectionError; http_status=0, msg='URLError <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:997)>', error_response='''> calibre 6.26 embedded-python: True Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22621') Python 3.10.1 Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 11, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (2, 11, 0) && KFX metadata reader (from KFX Input) (2, 11, 0) && From KFX (2, 11, 0) && KFX Input (2, 11, 0) && OverDrive Libby (0, 1, 9) Traceback (most recent call last): File "urllib\request.py", line 1348, in do_open File "http\client.py", line 1282, in request File "http\client.py", line 1328, in _send_request File "http\client.py", line 1277, in endheaders File "http\client.py", line 1037, in _send_output File "http\client.py", line 975, in send File "http\client.py", line 1454, in connect File "ssl.py", line 512, in wrap_socket File "ssl.py", line 1070, in _create File "ssl.py", line 1341, in do_handshake ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:997) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre_plugins.overdrive_libby.libby.client" , line 518, in send_request File "urllib\request.py", line 519, in open File "urllib\request.py", line 536, in _open File "urllib\request.py", line 496, in _call_chain File "urllib\request.py", line 1391, in https_open File "urllib\request.py", line 1351, in do_open urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:997)> The above exception was the direct cause of the following exception: Traceback (most recent call last): File "calibre\gui2\preferences\plugins.py", line 301, in customize_plugin File "calibre\gui2\preferences\plugins.py", line 378, in modify_plugin File "calibre\customize\__init__.py", line 191, in do_user_config File "calibre_plugins.overdrive_libby.__init__", line 104, in save_settings File "calibre_plugins.overdrive_libby.config", line 947, in save_settings File "calibre_plugins.overdrive_libby.libby.client" , line 593, in get_chip File "calibre_plugins.overdrive_libby.libby.client" , line 556, in send_request calibre_plugins.overdrive_libby.libby.errors.Clien tConnectionError: <calibre_plugins.overdrive_libby.libby.errors.Clie ntConnectionError; http_status=0, msg='URLError <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:997)>', error_response='''> |
![]() |
![]() |
![]() |
#269 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
|
|
![]() |
![]() |
![]() |
#270 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Onyx Note Air
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Overdrive Link | jhowell | Plugins | 1291 | 04-14-2025 03:46 PM |
No Local Public Library. Overdrive/Libby Possible? | enuddleyarbl | Kobo Reader | 2 | 06-08-2023 07:23 PM |
Library borrowing: Overdrive vs. Libby | haertig | General Discussions | 83 | 01-30-2023 04:21 PM |
Libby, the new Overdrive App | Cosimo | News | 30 | 12-02-2017 09:42 AM |
Overdrive's Libby | Loves2Read4Fun | General Discussions | 2 | 12-20-2016 01:32 PM |