From 4f5155d190fd1a3b192c337db6f904d994ba6069 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 26 Feb 2017 11:56:35 +0530 Subject: [PATCH] Change the captcha error text --- src/calibre/ebooks/metadata/sources/amazon.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/metadata/sources/amazon.py b/src/calibre/ebooks/metadata/sources/amazon.py index 1c7ce71af4..59c606fea7 100644 --- a/src/calibre/ebooks/metadata/sources/amazon.py +++ b/src/calibre/ebooks/metadata/sources/amazon.py @@ -1076,7 +1076,9 @@ class Amazon(Source): matches.append(url) break if not matches and root.xpath('//form[@action="/errors/validateCaptcha"]'): - raise CaptchaError('Amazon returned a CAPTCHA page, probably because you downloaded too many books. Wait for some time and try again.') + raise CaptchaError('Amazon returned a CAPTCHA page. Recently Amazon has begun using statistical' + ' profiling to block access to its website. As such this metadata plugin is' + ' unlikely to ever work reliably.') # Keep only the top 5 matches as the matches are sorted by relevance by # Amazon so lower matches are not likely to be very relevant