jo1gi / audiobook-dl

Audiobook CLI downloader
GNU General Public License v3.0
221 stars 36 forks source link

Unknown bug for new installation #93

Open confusednarwhal opened 7 months ago

confusednarwhal commented 7 months ago

Installation method: pip Version: *Python version 3.12 and audiobook-dl version (whichever is the most up to date as of this bug report

Describe the bug I used the linked firefox extension to export cookie data as a .txt and made sure to disable my cookie blocking extensions on firefox before exporting the cookies. I double check the link each time I enter it for a different site, and make sure the cookie export entered in the command line is the correct one. Despite trying this for multiple links, I get the error message "ERROR: The url you provided is not supported by audiobook-dl" for just about every site I tried, aside from everand, which gave me the output of: "ERROR: Missing data from source"

Also, I don't know shit about programming so I may just be doing something incorrectly here. That being said, here's what I got:

Command output Command and output with --debug flag

--debug C:\Users\liamw>audiobook-dl -c "C:/Users/liamw/Downloads/cookies.txt" "https://www.everand.com/audiobook/633634207/A-Court-of-Thorns-and-Roses" Finding compatible source Authenticating with everand ERROR: Missing data from source

audiobook-dl is missing data from source. This can happen when you try to download audiobooks you don't have access too (not logged in or your profile doesn't have the right permissions), the site has been updated and audiobook-dl hasn't implemented the new version, or it could be a bug in audiobook-dl.

If you think it is a problem with audiobook-dl please create an issue at https://github.com/jo1gi/audiobook-dl/issues

C:\Users\liamw>audiobook-dl -c "C:/Users/liamw/Downloads/cookies.txt" "https://www.overdrive.com/media/2197219/a-court-of-thorns-and-roses" Finding compatible source ERROR: The url you provided is not supported by audiobook-dl

Supported services are: • audiobooks.com • Blinkist • BookBeat • Chirp • eReolen • Everand • Libby • Librivox • Mofibo • Nextory • Overdrive • Podimo • Saxo • Scribd • Storytel • YourCloudLibrary

C:\Users\liamw> audiobook-dl -c "C:/Users/liamw/Downloads/cookies.txt" "https://www.audiobooks.com/audiobook/court-of-thorns-and-roses/233475" Finding compatible source ERROR: The url you provided is not supported by audiobook-dl

Supported services are: • audiobooks.com • Blinkist • BookBeat • Chirp • eReolen • Everand • Libby • Librivox • Mofibo • Nextory • Overdrive • Podimo • Saxo • Scribd • Storytel • YourCloudLibrary

Graywaren commented 7 months ago

I've been struggling with it all today as well, also having gone from knowing nothing about python etc. Looking at the command you used... I think you should try:

audiobook-dl -cC:/Users/liamw/Downloads/cookies.txt [URL]

For the URL you need to use a URL that has /listen in the path, so you need to click "Play" or "Continue Listening" to get to the correct page. Here is an example of a correct URL: https://www.everand.com/listen/638079282

If that still doesn't work, make sure you've exported the cookies from the listening page and chosen the "everand.com" option, not the "www.everand.com" when it asks you which to export.

Give that a try and see if it works. I'm not the creator or anything, but that is what I got working from hours of combing through everything to figure it out. Good luck!