-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Unable to download from libby #81
Comments
Yep, this library can't download audiobooks easily anymore, see the various other open issues. A potential workflow is:
|
I have been doing the ODM method but my libraries have put a notice on their site that the ODM download will no longer be available next week Can anyone assist me with using that fork? |
That fork doesn't fix Libby operations EXCEPT to allow you to see your list
of checked out books (which odmpy itself can no longer do). There's no fix
yet for all of the changes Libby made to their download protocols -- it
SHOULD be possible, but nobody has figured it out yet.
As you observe, "odmpy dl" will become completely impossible to use
mid-November. What's worse is that they're going to turn off their "mp3"
book type; I have no idea whether we even COULD download the other type. I
wish I knew something about that.
… Message ID: ***@***.***>
|
Can you share the browser extension you used? I can live without the chapter data. |
Thank you for checking, I'm glad it turned out to be that simple of a change (so it's probably just the same problem that's been blocking us from Libby all along).
Oof. That's a pity. |
What browser extension? The one I had no longer works either. |
Heard! Thanks 🙏 |
now that odm files can't be downloaded anymore, does anyone have any working solutions at this point? |
Overdrive just removed the option to download in Windows format for Overdrive. Presumably this means they disabled odm files. Any chance you can find a workaround? |
Not through this issue; there were people working on this through issue #69 , although my understanding is that we've all given up. I'll post the last active work I've found that anyone is still working on. I recommend that this issue be closed - its bug is actually fixed, and the REAL problem is being worked on in another issue. |
Thank you for the prompt reply. I hope the team can find a workaround
because as of today, those odm files are no longer available for download
as an Overdrive for Windows option. We are 100% stuck with Libby and that's
100% not okay with me for reasons I won't go into here.
I'll keep an eye on issue #69 and wish I had an inkling about coding so I
could help.
Sharon Lippincott.
…On Thu, Nov 14, 2024 at 4:12 PM William Tanksley Jr < ***@***.***> wrote:
Not through this issue; there were people working on this through issue
#69 <#69> , although my understanding
is that we've all given up. I'll post the last active work I've found that
anyone is still working on.
I recommend that this issue be closed - its bug is actually fixed, and the
REAL problem is being worked on in another issue.
—
Reply to this email directly, view it on GitHub
<#81 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQDWRLYF66MECEHAKVQFJCD2AUN6NAVCNFSM6AAAAABQ37IUEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZXGUYTAMRRGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Visit me on the web:
The Heart and Craft of Lifestory Writing <http://heartandcraft.blogspot.com>
***@***.***
|
FYI, @Ritergeek , @wtanksleyjr, @jahlborn, et al. |
Thank you. Lesson learned! |
No problem! By the way, |
I converted the bookmarklet submitted by @joshcsmith13 into a firefox extension. It runs automatically in the pertinent pages and only there. No need to save nor click the bookmarklet. You can find it at https://github.com/vcalv/underdrive Already signed by Mozilla so that you don't need to install it in the dev version of the browser. It also features auto-updates not hosted by Mozilla. I've been using it and it works (I download on the console using https://github.com/vcalv/overdrive.sh) This is however trivial to identify on the server side and I suspect might get people banned. Use at your own risk. |
I'm eager to try this, but could you please explain how it works? We log
onto Libby and then what?
…On Mon, Dec 23, 2024 at 2:15 PM vcalv ***@***.***> wrote:
I converted the bookmarklet submitted by @joshcsmith13
<https://github.com/joshcsmith13> into a firefox extension.
It runs automatically in the pertinent pages and only there.
No need to save of click the bookmarklet.
You can find it at https://github.com/vcalv/underdrive
Already signed by Mozilla so that you don't need to install it in the dev
version of the browser.
This could also be a greasemonkey script, which would be a lot easier.
It also features auto-updates not hosted by Mozilla.
I've been using it and it works (I download on the console using
https://github.com/vcalv/overdrive.sh
This is however trivial to identify on the server side and I suspect might
get people banned.
Use at your own risk.
—
Reply to this email directly, view it on GitHub
<#81 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQDWRL3J2Z235UGQ7J7MUH32HBVOJAVCNFSM6AAAAABQ37IUEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQGI2DQMZUGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
You log onto Overdrive (for example my library's page is
https://lapl.overdrive.com/account/loans) and the moment you go to your
loans page, you see buttons to click to download ODM files, one for each
book. Without using this Javascript, you wouldn't see the buttons; it'd
just tell you that the Overdrive client is no longer supported.
I use the bookmarklet, which means I go to that page and then click the
bookmarklet. With this extension you go to the page and it looks like it
used to, with the buttons right there and ready to be clicked.
… Message ID: ***@***.***>
|
Thanks William. I'll work on figuring out how to use that bookmarklet or
install the extension. 🤞🤞
…On Tue, Dec 24, 2024 at 1:44 PM William Tanksley Jr < ***@***.***> wrote:
You log onto Overdrive (for example my library's page is
https://lapl.overdrive.com/account/loans) and the moment you go to your
loans page, you see buttons to click to download ODM files, one for each
book. Without using this Javascript, you wouldn't see the buttons; it'd
just tell you that the Overdrive client is no longer supported.
I use the bookmarklet, which means I go to that page and then click the
bookmarklet. With this extension you go to the page and it looks like it
used to, with the buttons right there and ready to be clicked.
> Message ID: ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#81 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQDWRLZ4RJKOFMDNB3HP4CT2HG2SFAVCNFSM6AAAAABQ37IUEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRRGM3DSMRVGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Visit me on the web:
The Heart and Craft of Lifestory Writing <http://heartandcraft.blogspot.com>
***@***.***
|
Thank you to @joshcsmith13 for the workaround! For others who don't wish to bother with a bookmarklet or extension, I found it simpler to just search the page source (ctrl+u, ctrl+f) for the link with https://whatever.overdrive.com/media/download/audiobook-overdrive/{numbers} |
@wtanksleyjr Explained it correctly. My Firefox extension just makes this trivial change automatically to the loan pages on overdrive. You can basically use overdrive just like you used to a month or so ago. I also have a libby extension that downloads the mp3 files but it's crude, not really automatic (you have to seek manually and it saves the files as you go) and as of now supports no metadata, not even titles. I'm probably not releasing that one. |
ive used @vcalv's extension to download the .odm file, but now i need to convert to .mp3s. it looks like overdrives app to do this is broken. i get a script error and the app crashes when i try to use it. |
@hutonahill , did you try |
I haven't yet. Working on installing the tool right now, but my pip has been screwed by something and I need to fix it first |
Okay, good luck! |
There's a bash script with no python dependencies. Only a bunch of CLI commands you most likely already have. https://github.com/vcalv/overdrive.sh It would be completely possible to do this in the firefox extension, but I really don't see the point since so many tools already support it. If there is a lot of demand or a pull request I might consider it though. |
Casey Jones,
I just tried your trick of searching the page source. I found the link you
mention, but am unable to edit it. What am a I missing? It's a little scary
to think that just anyone could edit source code that way ...
…On Tue, Dec 24, 2024 at 5:01 PM Casey Jones ***@***.***> wrote:
Thank you to @joshcsmith13 <https://github.com/joshcsmith13> for the
workaround! For others who don't wish to bother with a bookmarklet or
extension, I found it simpler to just search the page source (ctrl+u,
ctrl+f) for the link with /audiobook-overdrive/, replace that part with
/audiobook-mp3/, and open that to download the odm.
—
Reply to this email directly, view it on GitHub
<#81 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQDWRL4LOJIMQCY3F7ECZZT2HHRTBAVCNFSM6AAAAABQ37IUEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRRGQ4DEMZZG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Visit me on the web:
The Heart and Craft of Lifestory Writing <http://heartandcraft.blogspot.com>
***@***.***
|
Hey @Ritergeek . Firstly my explanation was simply a description of how to manually accomplish the same thing @joshcsmith13's bookmarklet does, and presumably @vcalv's extension too, since they wrote that they based it on @joshcsmith13's bookmarklet. So I don't know who first discovered that trick, but I can't take credit for it. To address your confusion, there is no need to edit the source code. You only need to open it and search it to find what you need. OverDrive is apparently still serving the .odm files, but just not showing the link to them, leading the casual user to believe that they no longer exist when they actually still do, just no longer in plain view. The workaround is just to reconstruct what the link would be by finding the loan ID, so that is your goal in searching the source code. The .odm files can still be downloaded at URLs like @joshcsmith13's bookmarklet and @vcalv's extension are simply ways of automating that process to make it quicker. I just find them to be overkill for my purposes, when I can just use a text editor to change Lastly, to address your concern about the safety of editing source code. Source code is served from a central server to your computer, and afterwards exists in both places. You are free to change your copy however you like, and you could do that using a text editor or your browser's developer toolbox, but that wouldn't affect the copy stored on the site's server and therefore wouldn't impact other users. But in any case, that isn't necessary to get your |
Casey,
Thank you for the extensive explanation. I'm sure I could follow your
clear instructions now, but did figure out how to install the Firefox
extension and it magically did download the ODM file for an audiobook I've
had on hold. Now my next step is to master converting that to a useful MP3,
hopefully with breaks.
…On Fri, Dec 27, 2024 at 5:20 PM Casey Jones ***@***.***> wrote:
Hey @Ritergeek <https://github.com/Ritergeek> . Firstly my explanation
was simply a description of how to manually accomplish the same thing
@joshcsmith13 <https://github.com/joshcsmith13>'s bookmarklet does, and
presumably @vcalv <https://github.com/vcalv>'s extension too, since he
said he also based it on @joshcsmith13 <https://github.com/joshcsmith13>'s
bookmarklet. So I can't take credit for that.
To address your confusion, there is no need to edit the source code. Your
goal is simply to modify the link and then to paste the modified version
into your browser address bar, or whatever else you want to use to download
it. This is because OverDrive is apparently still serving the .odm files,
but just not showing a link to them. And the workaround is to reconstruct
what the link *would* be by finding the loan ID. And the loan ID is still
contained in the source code for some other links related to your loan. The
.odm files can still be downloaded at URLs like
https://whatever.overdrive.com/media/download/audiobook-mp3/{numbers},
where I guess that {numbers} is the ID of the book or the loan or
something. And even though OverDrive is no longer showing you that exact
link, you can still find links in the source code for
https://whatever.overdrive.com/media/download/audiobook-overdrive/{numbers},
which must serve some purpose which is still in use and hasn't yet been
deprecated. You could check what is at those links to. Anyway, if you use
the audiobook-mp3 one, that's where the .odm files you want are, and if
you just paste that modification into your browser address bar, it should
magically download them.
@joshcsmith13 <https://github.com/joshcsmith13>'s bookmarklet and @vcalv
<https://github.com/vcalv>'s extension are simply ways of automating that
process to make it quicker. I just find them to be overkill for my
purposes, when I can just use a text editor to change
https://whatever.overdrive.com/media/download/audiobook-overdrive/{numbers}
to https://whatever.overdrive.com/media/download/audiobook-mp3/{numbers}.
I personally need to do that maybe once or twice a month, so that just
doesn't justify installing any kind of dedicated specialized tool in my
mind. Plus, unfortunately, I doubt that this workaround will continue
working for very much longer. It is obviously an oversight on the part of
OverDrive, unless it was intentionally overlooked by a benevolent employee
there. In any case, I think this loophole will be found out sooner or later
and patched up, so get your .odms while you can!
Lastly, to address your concern about the safety of editing source code.
Source code is served from a central server to your computer, and
afterwards exists in both places. You are free to change your copy however
you like, and you could do that using a text editor or your browser's
developer toolbox, but that wouldn't affect the copy stored on the site's
server and therefore wouldn't impact other users. But in any case, that
isn't necessary to get your .odm. Just use a text editor or anything you
like, and the address bar. You could even paste the unmodified link into
the address bar and use the address bar itself to edit the link as needed
before hitting enter or 'go'. In this paragraph I'm simply addressing your
hypothetical security concerns.
—
Reply to this email directly, view it on GitHub
<#81 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQDWRL5HOQ5GZ7FLAYLRTM32HXOC7AVCNFSM6AAAAABQ37IUEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRUGA4DMMJXHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Visit me on the web:
The Heart and Craft of Lifestory Writing <http://heartandcraft.blogspot.com>
***@***.***
|
Has anyone successfully converted a freshly downloaded odm file now that the Overdrive app refuses to process them? BTW, the extension I've used to download them is the Underdrive one. |
@Ritergeek , when you say "converted" I assume you mean "downloaded." Yes, |
What exactly is the problem with the overdrive app? Did these problems start after and upgrade or do they also exist with older versions? |
@vcalv I think he's talking about the official Overdrive app, which stopped working when they removed support for its media type. It's been officially only supported in one version for a long long time. |
Just a heads up. These odm files have a short validity. After a while (hours?) you will not be able to checkout the item. |
FYI The Overdrive mobile app for Android still works. You can use it to open the odm. It'll load and download the book. Important: save the odm and open it from a FILE MANAGER, not from a browser, or email app, etc. If you open it from browser or email it will open the OD app, but not the new book. Don't know why that is; it just is. |
I just opened my Android Overdrive app. It no longer allows me to access
loans, etc. At every turn it directs me to Libby. At least for me, it's
dead in the water.
|
Hey mkgtu, I just tried your process. Since I use gmail on all devices, I didn't have to send, just opened the draft on my phone and downloaded the file. Following your instructions, I selected the appropriate app to open it. The app opened, but ignored the file as if the command had never been sent. Alas! This was also the case with a second file. |
@mkgtu - Interesting. How far do you think OverDrive Inc's monitoring is going? 1) Monitoring online forums for people who are creating and publicizing such methods? (yes), 2) Monitoring who is downloading .odm files to obtain books (a method that should no longer work and therefore would raise red flags), 3) Monitoring who is using the Listen in Browser method to skim a book and download mp3 files without ever listening to the whole book in the browser or Libby app (which I assume they can tell based on time spent reading)? |
There is no way that the extension will work on Firefox android. Extensions for mobile are highly curated.
How did they identify you? Did you use the same login/username. I maintain that it's trivial for the serverside to know who is doing this, but I also think that downloading something you are allowed to listen to should be OK. |
Describe the problem
My libraries now have a notice that downloading the MP3 (.odm file) will no longer be available after Nov 11 2024, so I am trying to download a book using the libby command I get errors:
To Reproduce
Version/Environment
Please paste the contents of
odmpy --version
here.The text was updated successfully, but these errors were encountered: