Proper link ISBN for searching in Amazon au, in, ca
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
amazon_ca, amazon_in, amazon_au Canada, India, Australia doesn't make link with "Ids: Amazon.com".
Someone needs to edit:
-> \calibre-
AMAZON_DOMAINS = {
'com': _('US'),
'fr': _('France'),
'de': _('Germany'),
'uk': _('UK'),
'it': _('Italy'),
'jp': _('Japan'),
'es': _('Spain'),
'br': _('Brazil'),
'nl': _('Netherlands'),
....
}
def _get_book_url(self, identifiers): # {{{
domain, asin = self.get_
if domain and asin:
url = None
if domain == 'com':
url = 'https:/
elif domain == 'uk':
url = 'https:/
elif domain == 'br':
url = 'https:/
else:
url = 'https:/
if url:
def get_website_
udomain = domain
if domain == 'uk':
udomain = 'co.uk'
elif domain == 'jp':
udomain = 'co.jp'
elif domain == 'br':
udomain = 'com.br'
return udomain
Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.
status fixreleased