diff --git a/src/calibre/ebooks/metadata/amazonbis.py b/src/calibre/ebooks/metadata/amazonbis.py index a94883b003..f86f00b94f 100644 --- a/src/calibre/ebooks/metadata/amazonbis.py +++ b/src/calibre/ebooks/metadata/amazonbis.py @@ -98,9 +98,11 @@ class AmazonSocial(MetadataSource): has_html_comments = True def fetch(self): + if not self.isbn: + return try: - self.results = search(self.title, self.book_author, self.publisher, - self.isbn, max_results=5, verbose=self.verbose, lang='all') + self.results = get_social_metadata(self.title, self.book_author, self.publisher, + self.isbn, verbose=self.verbose, lang='all')[0] except Exception, e: self.exception = e self.tb = traceback.format_exc()