07-21-2016, 05:00 PM | #1 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
[Metadata Source Plugin] Amazon.com Multiple Countries
This plugin allows you to download metadata from an additional Amazon.com country portal, in addition to the builtin Amazon.com metadata source.
Created by request in this thread. Behind the scenes, it simply subclasses the builtin plugin and offers an additional copy under a different name. So it will only function as well as the builtin plugin, and any bug reports about the quality of the downloaded metadata can be directed to the calibre bugtracker. The default country portal is France, because that was second on the list after the US (which is the default for the builtin plugin). But obviously, like the buitin source, you can configure it to whichever additional country portal you wish. Special Notes:
Installation Notes:
Version History: Spoiler:
|
07-21-2016, 05:03 PM | #2 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
And in case anyone wants three or more sources at the same time, here are some additional copies.
|
Advert | |
|
08-07-2016, 10:48 AM | #3 | |
Groupie
Posts: 199
Karma: 76476
Join Date: Feb 2012
Location: Poland
Device: none
|
Using the plugin, I've noticed one problem.
My standard set-up is with Amazon US (built-in Calibre plugin) and Amazon Germany (Multiple Countries) on. In some cases (I guess it's when books are in both Amazon stores, which is the case of e.g. some English-language books, offered on Amazon.de) the downloaded comments are a mixture of data from both sources, and some paragraphs are repeated. Is there any way to fix this? Here an example: Quote:
|
|
08-07-2016, 03:52 PM | #4 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Depending on how you do your metadata downloads, multiple results may or may not be merged.
Obviously, this is extra noticeable when they both return identical results... IIRC, when downloading metadata for one book at a time, you can choose which result to use, and when downloading for multiple books en masse, calibre will automatically merge the results. ... tl;dr Nothing to do with this plugin or Amazon. |
07-09-2017, 12:01 PM | #5 |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
Option to set IF language is English/Japanese, uses the corresponding Amazon source
Hi @eschwartz
Your plugin for multiple source amazon countries is very useful. I'm currently using the US (really need Australia) & Japan amazon stores. A couple of questions/requests:
Thanks, Inukami |
Advert | |
|
07-09-2017, 11:51 PM | #6 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
07-11-2017, 10:37 PM | #7 |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
@eschwartz, thanks for your response.
|
07-11-2017, 10:57 PM | #8 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
No, the plugin settings are per user profile (or, in theory, per calibre configuration directory).
Either way, you "could" also just go into your settings every time and change the website it uses. I mean, really, this plugin was originally created for people who wanted to just return e.g. the results for both Amazon US and Amazon Japan, so that depending on the language of the book you can choose which one is a better result. Or more likely, only one store would have a result, and the other store would simply error and return no results. |
07-11-2017, 11:32 PM | #9 |
Zealot
Posts: 145
Karma: 12
Join Date: Jun 2017
Location: Australia
Device: Mac Pro 2013 & Mini 2018, iPad Mini 4, iPhone 11, iBooks, K4Mac/PC
|
Hi @eschwartz,
Yes you are correct. I think I won't worry about it then. As most of my manga have Japanese titles, it would be using the Amazon Japan store anyway. Thanks again for great little plugin Thanks, Inukami |
05-28-2023, 06:01 AM | #10 |
Zealot
Posts: 118
Karma: 34
Join Date: Jun 2015
Device: ipad & inkpad X
|
Plugin spits out errors since calibre 6.17:
Code:
****************************** Amazon.com Multiple Countries (1, 0, 0) ****************************** Found 0 results Downloading from Amazon.com Multiple Countries took 0.4010591506958008 User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 Server: amazon Downloading details from: https://www.amazon.com/dp/bc800870-f598-4f1c-863e-c7b12fbb33ef URL not found: 'https://www.amazon.com/dp/bc800870-f598-4f1c-863e-c7b12fbb33ef' Plugin Amazon.com Multiple Countries failed Traceback (most recent call last): File "calibre/ebooks/metadata/sources/amazon.py", line 112, in parse_details_page File "mechanize/_mechanize.py", line 241, in open_novisit File "mechanize/_mechanize.py", line 313, in _mech_open mechanize._response.get_seek_wrapper_class.<locals>.httperror_seek_wrapper: HTTP Error 404: Not Found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre/ebooks/metadata/sources/identify.py", line 47, in run File "calibre/ebooks/metadata/sources/amazon.py", line 1575, in identify File "calibre/ebooks/metadata/sources/amazon.py", line 116, in parse_details_page calibre.ebooks.metadata.sources.amazon.UrlNotFound: The URL https://www.amazon.com/dp/bc800870-f598-4f1c-863e-c7b12fbb33ef was not found (HTTP 404) Code:
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36'), ('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'), ('Upgrade-insecure-requests', '1'), ('Referer', 'https://www.amazon.de/')] Downloaded cover: 404x500 Took 111.24506187438965 seconds No cached cover found, running identify User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 Server: amazon Downloading details from: https://www.amazon.de/Waldwissen-Erstaunliche-Erkenntnisse-umfassendste-Standardwerk-ebook/dp/B0BMGF5MQ7/ref=sr_1_1?field-isbn=9783641294229&qid=1684060246&refinements=p_66%3A9783641294229&sr=8-1&unfiltered=1 Downloading cover from: https://m.media-amazon.com/images/I/51JT7sokXzL.jpg Code:
****************************** Amazon.com Multiple Countries (1, 0, 0) ****************************** Found 3 results Downloading from Amazon.com Multiple Countries took 106.34308004379272 |
05-14-2024, 07:05 AM | #11 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Feb 2011
Device: Android Tablet
|
This plugin has not been updated recently and now with latest calibre it's not getting the comments part of the book anymore. Is it possible to fix it? Thanks in advance.
|
05-14-2024, 02:15 PM | #12 | ||
Bibliophagist
Posts: 41,704
Karma: 161499392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
|
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Amazon.de | karlheinzbehr | Plugins | 1 | 06-21-2016 11:10 AM |
[Metadata Source Plugin] Question: Amazon.com | silbaer | Calibre | 13 | 12-31-2015 01:12 PM |
[Metadata Source Plugin] Amazon.CN | fated | Plugins | 0 | 11-20-2014 05:59 PM |
Amazon Metadata source plugin not working | Stormvision | Plugins | 3 | 05-03-2013 09:20 AM |
[Metadata Source Plugin] Amazon.it | nandocuci | Plugins | 2 | 05-18-2011 03:36 AM |