RSS-Bridge / rss-bridge

The RSS feed for websites missing it
https://rss-bridge.org/bridge01/
The Unlicense
7.38k stars 1.04k forks source link

Bridge request for audible.com #3226

Open Crazy52 opened 1 year ago

Crazy52 commented 1 year ago

Bridge request

General information

Edit: (note - ?overrideBaseCountry=true&ipRedirectOverride=true can be used to prevent redirect)

Options

Bockiii commented 1 year ago

I'll say thats going to be "almost" impossible. Audible will only give you the information if you are logged in, opening the pages using a private session will redirect you to a "register" page.

Audible/Amazon login using cookie infos will make you have to recreate the feed every few days (because you will receive a "are you a robot?" solving question as soon as amazon notices something weird.

It looks like there were multiple tries over the years already: https://www.reddit.com/r/audible/comments/jr473j/can_i_get_notified_about_new_audible_books_in/

If I were you I would go the goodreads way

Crazy52 commented 1 year ago

I'll say thats going to be "almost" impossible. Audible will only give you the information if you are logged in, opening the pages using a private session will redirect you to a "register" page.

Audible/Amazon login using cookie infos will make you have to recreate the feed every few days (because you will receive a "are you a robot?" solving question as soon as amazon notices something weird.

It looks like there were multiple tries over the years already: https://www.reddit.com/r/audible/comments/jr473j/can_i_get_notified_about_new_audible_books_in/

If I were you I would go the goodreads way

thanks, i didnt even notice that you needed to be logged in to view the page.

Crazy52 commented 1 year ago

I'll say thats going to be "almost" impossible. Audible will only give you the information if you are logged in, opening the pages using a private session will redirect you to a "register" page.

Audible/Amazon login using cookie infos will make you have to recreate the feed every few days (because you will receive a "are you a robot?" solving question as soon as amazon notices something weird.

It looks like there were multiple tries over the years already: https://www.reddit.com/r/audible/comments/jr473j/can_i_get_notified_about_new_audible_books_in/

If I were you I would go the goodreads way

it looks like you dont need to be logged in to view the pages anymore.

Bockiii commented 1 year ago

Just opened the link from your PR in a private window and it imediately threw me to the homepage. Are you seeing a different behavior?

Crazy52 commented 1 year ago

Just opened the link from your PR in a private window and it imediately threw me to the homepage. Are you seeing a different behavior?

i am, logged out in a private window and in my mobile browser not logged in i am seeing the series and author pages. img

Bockiii commented 1 year ago

Interesting... there seems to also be some geoip shenanigans going on.

Try to open this link in a private session and see if it leads you to the book or to a rerouted english version asking you to sign up

https://www.audible.de/pd/Der-Schwarm-Hoerbuch/B00IOTKUDG

Crazy52 commented 1 year ago

Interesting... there seems to also be some geoip shenanigans going on.

Try to open this link in a private session and see if it leads you to the book or to a rerouted english version asking you to sign up

https://www.audible.de/pd/Der-Schwarm-Hoerbuch/B00IOTKUDG

that gave me a redirect to the main page in both private and logged in

Bockiii commented 1 year ago

Yeah, so geoip seems to also play a role which will make it even more problematic to create a bridge since the location of the rssbridge instance will limit your choice.

If the rssbridge instance is hosted in Germany for example, you won't be able to create feeds for english books (like you can see from our testing).

Crazy52 commented 1 year ago

Yeah, so geoip seems to also play a role which will make it even more problematic to create a bridge since the location of the rssbridge instance will limit your choice.

If the rssbridge instance is hosted in Germany for example, you won't be able to create feeds for english books (like you can see from our testing).

https://www.audible.de/pd/Der-Schwarm-Hoerbuch/B00IOTKUDG?overrideBaseCountry=true&ipRedirectOverride=true

looks like you can stop the redirect with this ?overrideBaseCountry=true&ipRedirectOverride=true

Bockiii commented 1 year ago

@Crazy52 In case you haven't managed to find a solution so far: Its possible to do this relatively easy with the CSS selector bridge. I tested it with Author and Series links, worked for both (english and german).

This works great but only contains the book names in the content and title. This is easy on the rss bridge server and will probably not cause any rate limiting:

URL: <series or author link> ?overrideBaseCountry=true&ipRedirectOverride=true (this needs to be added to the base link) Selector for article: h3.bc-heading

IF you want to get more info (but also very likely get a temp ban on the rss bridge instance), you can add this as well to get more info in the rss feed items

[Optional] Selector to expand each article: div.productPublisherSummary