bookbonobo / libby-download-extension

MIT License
113 stars 19 forks source link

TypeError: NetworkError when attempting to fetch resource #194

Open PurpleJonSnowden opened 4 months ago

PurpleJonSnowden commented 4 months ago

Hello, been using this plugin on Firefox periodically for the last few weeks. In general it has worked great but I have ran into an error that I haven't seen mentioned on this forum or in the review section of the Firefox Add-on page. I thought I would reach out and see if anyone has had similar experiences

Essentially I am getting the error listed in the title. I have changed networks, deleted the add-on and re-downloaded, reset my computer, and reset and adding cards back to Libby manually.

The error looks like this on my end:

TypeError: NetworkError when attempting to fetch resource

Any help from the community or the developer would be great. I am just worried I am missing a simple setting or something like that. Thank you in advance.

Libby
blindsamurai777 commented 4 months ago

Confirming I'm experiencing this exact issue and tried all common recommended troubleshooting steps. Edit: This issue began happening at approx. 8AM Pacific and it appears Libby has released fresh changes which is evident to the end-user who now can see a white "Synchronize position?" banner that pops in from the top of the webpage upon reloading/refreshing the page.

RBeatse commented 4 months ago

Third person experiencing this error. Nothing to add other than it also started happening today

ddsforlife commented 4 months ago

I'm experiencing this error as well!

epunch000 commented 4 months ago

Likewise :(

NotKoalafied commented 4 months ago

Sorry to report that the issue is here too.

needlecream commented 4 months ago

I also am having this issue.

FedeFreire commented 4 months ago

Same here. Chrome extension is also experiencing a similar issue

dujii73 commented 4 months ago

I'm also having the same issue on Firefox and Chrome

Prajna-Karuna commented 4 months ago

Same here. I love this extension and wish I were able to help making this work again.

justsomerandombeing commented 4 months ago

I am having this same issue. I had downloaded the OverdriveConsole just to see if it still works (which it does), and thought that it had somehow messed with my ability to use the firefox extention (which I like more becasue of the embedded chapters and single MP3). I looked at the the firefox under developer tools and there appears to be some issues with "Some cookies are misusing the recommended “SameSite“ attribute". I dont know if that has anything to do with this issue but just thought I would bring it up. I dont know anything about this stuff as I just literally made an account on here to post that I also am having this same issue as titled

mr-bass commented 4 months ago

Having the same issue as PurpleJonSnowden. I've also tried a different, previously working Chrome plugin as well and found it to no longer function.

unluckyquote commented 4 months ago

Same problem here :( odmpy has also stopped working, so I wonder if something has changed with libby

qbaas commented 4 months ago

Looks like this issue is caused by some changes at Libby side. I have it too

Sundog10 commented 4 months ago

I am having the same problem and spent hours trying all different things on different devices. No luck. I was so happy to discover this extension., I hope it gets resolved.

dsivasuthan commented 4 months ago

This is the first time I am trying this extension and it is broken. If anybody find a solution, please let us know.

BLS-Pro commented 4 months ago

I was able to use the ext on Firefox without problem as of three days ago. But went to use it today and get this error as well.

RBeatse commented 4 months ago

@mkgtu Can you point me to more info on those two other methods in case it really can't be fixed?

BLS-Pro commented 4 months ago

I can't speak to the Overdrive app method, but I was just able to successfully download an audiobook using the Telegram Libby Audiobook bot method. You have to use your phone or pad device, because you need to download two apps: the Telegram app and the Libby app. The Libby app is what gives the Telegram app access to your library account. Once you have downloaded them both, just follow the directions on the bot page: https://github.com/joshuatly/libby_ab_bot

Once you've followed those directions, you'll be given a zip file link you can use to download the audiobook to any computer/device

RBeatse commented 4 months ago

the developer posted on GitHub just a few minutes ago that he has been able to reproduce the error and concluded that the extension is not working anymore and that he doesn't think it can be fixed.

Where did he say this? I haven't been able to find it and I would like to "follow" his comments.

afterconnery commented 4 months ago

Anyway to run this locally on my computer? Really just need to be able to make the .cue file from the "part..." files and separate them according to the .cue file.

afterconnery commented 4 months ago

@mkgtu I can get the files from the Libby browser. But the files are in parts and not by chapters. I would manually go through and use ffprobe and ffmpeg to find the Overdrive markers and separate each file according to their chapter.

I liked how this extension made a cue file and then I have another program that will do the separating using said cue file.

thecougar6 commented 4 months ago

Just chiming in here to confirm the error, and all other discussed workarounds (Chrome Extension, Telegram App, Overdrive) have not worked for me for one reason or another. Will continue to look for other possible resources but at the moment, sadly it seems like Libby has closed all doors to this for the time being.

dsivasuthan commented 4 months ago

Just chiming in here to confirm the error, and all other discussed workarounds (Chrome Extension, Telegram App, Overdrive) have not worked for me for one reason or another. Will continue to look for other possible resources but at the moment, sadly it seems like Libby has closed all doors to this for the time being.

I got the Telegram method working yesterday in case you want to use that.

PurpleJonSnowden commented 4 months ago

GOOD NEWS, I think. With the Firefox and Chrome extensions no longer working, I think there are THREE ALTERNATIVES left.

* The Overdrive app method, if available.

* The Telegram Libby Audiobook Bot, libby_ab_bot, if you can get it to work. It can be glitchy and the servers sometimes slow.

* And the VIDEO AND AUDIO DOWNLOADER extension, available both from the Chrome Webstore AND as a Firefox add-on

https://chrome.google.com/webstore/detail/video-audio-downloader/pchlfebelfohhojoomlngjbkcjponfha

https://addons.mozilla.org/en-US/firefox/addon/video-audio-downloader/

For those not familiar with it, this was the go-to and reliable option before the current Chrome and Firefox extensions were created. AND IT STILL WORKS. I just tried it and successfully downloaded a book without a hitch. I've also had comments from Reddit users for whom it still works.

It's a bit more complicated than newer methods. But it has never failed to work after all this time.

Too long to explain it here, but I posted instructions on Reddit for using it on Libby long ago. (It was obviously not designed specifically for Libby. Here is a Google Docs version of those instructions:

https://docs.google.com/document/d/1GX41gdpotuYUmszhxb6RUbrPEHraGSS8MgCBMGSFsUQ/edit?usp=drivesdk

Or the attached PDF Download Libby Audiobook files-Copy.pdf

Thanks for all the helpful resources! I definitely found them helpful. Hopefully other uses do as well.

stenou commented 4 months ago

odmpy still works.

https://github.com/ping/odmpy

I created a fork with the date format fixed. You can install it with the below command

python3 -m pip install git+https://git@github.com/stenou/odmpy.git --upgrade

You can view the change here:

https://github.com/ping/odmpy/compare/master...stenou:odmpy:master

thejoester commented 4 months ago

GOOD NEWS, I think. With the Firefox and Chrome extensions no longer working, I think there are THREE ALTERNATIVES left.

* The Overdrive app method, if available.

* The Telegram Libby Audiobook Bot, libby_ab_bot, if you can get it to work. It can be glitchy and the servers sometimes slow.

* And the VIDEO AND AUDIO DOWNLOADER extension, available both from the Chrome Webstore AND as a Firefox add-on

https://chrome.google.com/webstore/detail/video-audio-downloader/pchlfebelfohhojoomlngjbkcjponfha

https://addons.mozilla.org/en-US/firefox/addon/video-audio-downloader/

For those not familiar with it, this was the go-to and reliable option before the current Chrome and Firefox extensions were created. AND IT STILL WORKS. I just tried it and successfully downloaded a book without a hitch. I've also had comments from Reddit users for whom it still works.

It's a bit more complicated than newer methods. But it has never failed to work after all this time.

Too long to explain it here, but I posted instructions on Reddit for using it on Libby long ago. (It was obviously not designed specifically for Libby. Here is a Google Docs version of those instructions:

https://docs.google.com/document/d/1GX41gdpotuYUmszhxb6RUbrPEHraGSS8MgCBMGSFsUQ/edit?usp=drivesdk

Or the attached PDF Download Libby Audiobook files-Copy.pdf

The VIDEO AND AUDIO DOWNLOADER extension just keeps saying no audio or video detected

image

blindsamurai777 commented 4 months ago

Agreed with @thejoester. This does not work for Firefox. The extension cannot detect any media files.

blindsamurai777 commented 4 months ago

odmpy still works.

https://github.com/ping/odmpy

I had to make this change to my local copy to get it to work. If the maintainer doesn't fix the issue a fork might be necessary. audiofile.tag.release_date = LibbyClient.parse_datetime( published_date ).strftime("%Y-%m-%d")

https://github.com/ping/odmpy/pull/59/files#diff-c7d73b1f7d310eeed5cb7195d5a5b9c451fbe0f675c23abaf642cf27a89a354fR250-R252

How did you get odmpy installed at all? I can't even install it. Surely it's user error or I am not understanding the steps. I'm no coder but attached are the steps and a screenshot of what I did. Perhaps you can advise so as to make it more clear the installation steps.

Steps Capture

Error I Received Capture2

stenou commented 4 months ago

You need to install pip

https://pip.pypa.io/en/stable/installation/

If you know how to use docker this is the dockerfile I'm using

FROM debian

RUN apt update && apt install -y python3 python3-pip python3.11-venv git ffmpeg

RUN python3 -m venv /odmpy

ENV PATH="/odmpy/bin:$PATH"

RUN python3 -m pip install git+https://git@github.com/stenou/odmpy.git --upgrade

RUN mkdir /books
WORKDIR /books
CMD ["/bin/bash"]

docker run -it --rm -v $PWD/:/books odmpy

thejoester commented 4 months ago

odmpy still works.

https://github.com/ping/odmpy

I had to make this change to my local copy to get it to work. If the maintainer doesn't fix the issue a fork might be necessary.

https://github.com/ping/odmpy/pull/59/files#diff-c7d73b1f7d310eeed5cb7195d5a5b9c451fbe0f675c23abaf642cf27a89a354fR250-R252

any assistance on how to apply these fixes on a windows box? or would it be much better to run this on my pi?

dujii73 commented 4 months ago

VIDEO AND AUDIO DOWNLOADER worked for me on Chrome

https://chrome.google.com/webstore/detail/video-audio-downloader/pchlfebelfohhojoomlngjbkcjponfha

stenou commented 4 months ago

odmpy still works. https://github.com/ping/odmpy I had to make this change to my local copy to get it to work. If the maintainer doesn't fix the issue a fork might be necessary. https://github.com/ping/odmpy/pull/59/files#diff-c7d73b1f7d310eeed5cb7195d5a5b9c451fbe0f675c23abaf642cf27a89a354fR250-R252

any assistance on how to apply these fixes on a windows box? or would it be much better to run this on my pi?

odmpy still works. https://github.com/ping/odmpy I had to make this change to my local copy to get it to work. If the maintainer doesn't fix the issue a fork might be necessary. https://github.com/ping/odmpy/pull/59/files#diff-c7d73b1f7d310eeed5cb7195d5a5b9c451fbe0f675c23abaf642cf27a89a354fR250-R252

any assistance on how to apply these fixes on a windows box? or would it be much better to run this on my pi?

I created a fork with the date format fixed. You can install it with the below command

python3 -m pip install git+https://git@github.com/stenou/odmpy.git --upgrade

You can view the change here: https://github.com/ping/odmpy/compare/master...stenou:odmpy:master

stenou commented 4 months ago

As of this morning odmpy no longer works :(. It looks like they have changed their auth method.

ojbucao commented 4 months ago

where to get the overdrive app or how to use the telegram bot?

eckie commented 4 months ago

where to get the overdrive app or how to use the telegram bot?

OD desktop can be downloaded from Softonic, at least for Windows, don't know about Mac. The android app from APKMirror. AFIK you can't install/sideload it on iPhone - unless you live in the EU. I've posted links here in GitHub and in Reddit. You can easily find them via Google search.

As for Telegram, the bot no longer works - as announced here and via message on the bot from its owner.

FYI: Overdrive can be installed on Android, but it doesn't work. Just tells you the app has been discontinued and go get Libby. Is there a particular Android version that you know if that still works?

PurpleJonSnowden commented 4 months ago

Just an update for you all, if you are trying to use the Libby Bot through telegram, it is currently down as Libby seems to be making some back end changes. The bot will still list what audiobooks you have have but you cannot currently download them. Hopefully that gets up and rolling as this seems to be the only method working for me. If you have any additional information that would be appreciated. Cheers.

mitrian7 commented 4 months ago

If you download the .odm file from OverDrive, you can then use that file with odmpy to get all those benefits as normal. For example:

odmpy dl "title.odm" -m --mergeformat m4b --mergecodec aac

zorin1 commented 4 months ago

If you download the .odm file from OverDrive, you can then use that file with odmpy to get all those benefits as normal. For example:

odmpy dl "title.odm" -m --mergeformat m4b --mergecodec aac

@mitrian7 Can you please give more detail steps on how you are using odmpy? I can't see to get it to work. I'm using ubuntu. How are you get the odm file?

thecougar6 commented 4 months ago

The VIDEO AND AUDIO DOWNLOADER is working now in Chrome, but not in Firefox (still detects no audio)

The Chrome version worked yesterday morning, then stopped working the rest of the day and night. Got a message from someone saying they used it this morning, so I tried it a while ago and it worked perfectly.

For now anyway. "She loves me, she loves me not"

This worked for me on Chrome just now. Thanks, @mkgtu! Now I just have to figure out how to stitch the chapter-by-chapter MP3s back into one file. For a variety of reasons, I strongly prefer to have books as a single audio file. Please do let me know if you have any brilliant ideas.

BLS-Pro commented 4 months ago

Now I just have to figure out how to stitch the chapter-by-chapter MP3s back into one file. For a variety of reasons, I strongly prefer to have books as a single audio file. Please do let me know if you have any brilliant ideas.

Copy each one into a single file using Audacity?

BLS-Pro commented 4 months ago

OD desktop can be downloaded from Softonic, at least for Windows

Is this still true? When I try to download it from there, it redirects to the Microsoft Store (as it explicitly says it does). But at the Store, there is no 'Get' button available, like with actively available apps. The space where the 'Get' button normally sits is blank. Has MS disabled the download? Is there any place else to get the OD windows app which does not rely upon the MS Store?

BLS-Pro commented 4 months ago

Thanks for the links - especially your hosted one! Grabbed that one (still trying to figure out how to make it download the audiobook files).

That said, a modification to the extension itself (mentioned above by ahxxm) solves the problem (and may be incorporated into the ext in the near future?). In other words, if you are looking for a fully functioning version of the Firefox extension (I have tested it and it works perfectly as before), just follow this link. File and instructions on how to install the ext are at the bottom of the page:

https://github.com/bookbonobo/libby-download-extension/pull/195

thejoester commented 4 months ago

Honestly the only source I would trust is this one: http://app.overdrive.com/downloads/ODMediaConsoleSetup.msi (copy and paste into browser) direct from overdrive.com

BLS-Pro commented 4 months ago

No need tho now that the ext has essentially been fixed. :)

On Fri, Apr 26, 2024 at 11:20 PM Joseph Thomas @.***> wrote:

Honestly the only source I would trust is this one: http://app.overdrive.com/downloads/ODMediaConsoleSetup.msi (copy and paste into browser) direct from overdrive.com

— Reply to this email directly, view it on GitHub https://github.com/bookbonobo/libby-download-extension/issues/194#issuecomment-2080383883, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGQRW2NYSESDP34UZH326SDY7M7SLAVCNFSM6AAAAABGTITDN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGM4DGOBYGM . You are receiving this because you commented.Message ID: @.***>

-- Sent from my mobile device

thejoester commented 4 months ago

Still not working for me

image

BLS-Pro commented 4 months ago

Still not working for me

The new ext I linked to is not working for you?

thejoester commented 4 months ago

I double checked and I cannot figure out how to install the new branch.

BLS-Pro commented 4 months ago

I double checked and I cannot figure out how to install the new branch.

The vid included in my link is very short, simple, and easy to follow. Had it installed in 60 seconds.

BLS-Pro commented 4 months ago

I double checked and I cannot figure out how to install the new branch.

Now you don't need to. The original ext has been updated with this fix and is now fully functional again!

RBeatse commented 4 months ago

Does it "just work" now or do you have to uninstall/reinstall?