fix amazon japan for referrer

This commit is contained in:
jnozsc 2020-01-24 19:56:29 -08:00 committed by GitHub
parent 21dcb2b8b6
commit ccaa7b13bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1010,6 +1010,7 @@ class Amazon(Source):
'uk': 'https://www.amazon.co.uk/',
'au': 'https://www.amazon.com.au/',
'br': 'https://www.amazon.com.br/',
'jp': 'https://www.amazon.co.jp/',
}.get(domain, 'https://www.amazon.%s/' % domain)
def _get_book_url(self, identifiers): # {{{