rubenmv / extension-goodreads-ratings-for-amazon

Shows Goodreads ratings in Amazon book pages.
Apache License 2.0
35 stars 7 forks source link

Added additional detection for ebooks #22

Closed lafe closed 7 months ago

lafe commented 11 months ago

I had an issue with some Kindle ebooks that were not detected correctly by the script when using the German store (e.g. https://www.amazon.de/Power-Geography-Much-Anticipated-Bestseller-Prisoners-ebook/dp/B08SGJ9WHG/). From my observation, that store page did not have any of the IDs that are used to detect if the product page is of an book, so I added the rpi-attribute-book_details-ebook_pages ID which seems to be unique to ebooks and similar to the existing rpi-attribute-book_details-fiona_pages ID.

While debugging the extension, I also found a comment in Spanish which I translated to English.