djdembeck / m4b-merge

A Python-based CLI tool that standardizes audiobook files with clean metadata, cover art, and structured chapters, sourced from Audible. Essential for achieving organized and high-quality audiobook files.
GNU General Public License v3.0
55 stars 10 forks source link

HTTP error 500 #198

Open acyment opened 11 months ago

acyment commented 11 months ago

After entering ASIN number I get an HTTP error 500. Internet connection is working fine. I use Lulu as a firewall, but php and python are not blocked. I have installed m4b-tool using homebrew and m4b-merge using pipx.

I use MacOS 13.5.2 in Macbook with M1 processor.

Thanks for your help!

pkishino commented 11 months ago

same issue here

pkishino commented 11 months ago

there is a problem with the Audnexus api currently..

djdembeck commented 11 months ago

What asin and region are y'all seeing this error with?

pkishino commented 11 months ago

Japan here.. tried several different asin, one is: B005X6MLXK

djdembeck commented 11 months ago

Japan here.. tried several different asin, one is: B005X6MLXK

Interesting, I do not see it in their catalog: https://www.audible.co.jp/pd/B005X6MLXK

Audnexus says the same:

{
    "statusCode": 500,
    "error": "Internal Server Error",
    "message": "Item not available in region 'jp' for ASIN: B005X6MLXK"
}
pkishino commented 11 months ago

How can I make it lookup US region? I have zero interest in audible jp..

On Wed, 18 Oct 2023 at 06:43, David Dembeck @.***> wrote:

Japan here.. tried several different asin, one is: B005X6MLXK

Interesting, I do not see it in their catalog: https://www.audible.co.jp/pd/B005X6MLXK

Audnexus says the same:

{ "statusCode": 500, "error": "Internal Server Error", "message": "Item not available in region 'jp' for ASIN: B005X6MLXK" }

— Reply to this email directly, view it on GitHub https://github.com/djdembeck/m4b-merge/issues/198#issuecomment-1767236831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7OFYVBCCWO5NFKMT7CKLTX733XFAVCNFSM6AAAAAA5NA4X7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGIZTMOBTGE . You are receiving this because you commented.Message ID: @.***>

djdembeck commented 11 months ago

It defaults to the US region. This ASIN isn't available in the US either though.

pkishino commented 11 months ago

Hmm, I just checked it on Amazon us 5 minutes ago again and it’s available there through audible..

On Wed, 18 Oct 2023 at 06:49, David Dembeck @.***> wrote:

It defaults to the US region. This ASIN isn't available in the US either though.

— Reply to this email directly, view it on GitHub https://github.com/djdembeck/m4b-merge/issues/198#issuecomment-1767243489, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7OFYSIJZINNM6WM3GFJQ3X734NLAVCNFSM6AAAAAA5NA4X7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRXGI2DGNBYHE . You are receiving this because you commented.Message ID: @.***>

djdembeck commented 11 months ago

It needs to be an ASIN from audible, not Amazon. They are not the same.

pkishino commented 11 months ago

? I’ve never heard of Asin other than Amazon standard identification number.. had no idea audible were different.. Is this not the correct one as it links to audible.. https://www.amazon.com/gp/aw/d/B005X6MLXK/ref=tmm_aud_swatch_0?ie=UTF8&qid=&sr=

djdembeck commented 11 months ago

? I’ve never heard of Asin other than Amazon standard identification number.. had no idea audible were different.. Is this not the correct one as it links to audible.. https://www.amazon.com/gp/aw/d/B005X6MLXK/ref=tmm_aud_swatch_0?ie=UTF8&qid=&sr=

Audible is an Amazon company and Audible internally calls product numbers ASINs. Just make sure you use audible.com (or other region suffix) and you should be good 👍

pkishino commented 11 months ago

https://www.audible.com/pd/Forward-the-Foundation-Audiobook/B005WWT30E so that’s the audible link to the same book that is referenced by Amazon.com as being an audible book but using a different asin.. very strange