07-19-2016, 01:19 PM | #1 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jul 2016
Device: kindle
|
Possible bug causing Amazon captcha?
Hey everyone. I recently downloaded Calibre 2.62. Within a day or so, I started getting the following captcha error when downloading metadata from Amazon:
Quote:
Thank you! |
|
07-19-2016, 01:41 PM | #2 |
Well trained by Cats
Posts: 30,441
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
did you tamper with any 'tweaks' that override the deliberately slowed down requests?
Been using Calibre for years and never triggered that. Even when I first started by documenting (empty books) my 900+ paper library, Baen CD's (after importing PRC's) |
Advert | |
|
07-19-2016, 01:45 PM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jul 2016
Device: kindle
|
No, I haven't tampered with anything. Don't you think it's strange that the user-agent is the same with each request? I think that could definitely throw some flags.
|
07-19-2016, 02:34 PM | #4 |
creator of calibre
Posts: 44,512
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I deliberately made the user agent the same because with random user agents captcha pages were becoming far more common (nowadays it is hard to come up with many common stable user agents, given evergreen browsers).
But, if you want to go back to random user agents, it's a two line change running calibre from source. Change line 804 in amazon.py to return whatever you like. |
07-19-2016, 02:49 PM | #5 | ||
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2016
Device: Kindle Apps (Desktop, Android phone & tablet)
|
I'm seeing exactly the same error. It started a couple of days ago, and Amazon won't allow me to query either book metadata or cover images. Like blitzker, I have not made any tweaks to my Calibre config.
Quote:
Quote:
Thanks! |
||
Advert | |
|
07-19-2016, 02:58 PM | #6 |
creator of calibre
Posts: 44,512
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It was over a month ago, https://github.com/kovidgoyal/calibr...df3034752468e8
And no it has to be a source level change. Though I'm pretty sure that you will find going back to random UAs will not help (it might help for a little while, but then you will be back to getting captcha pages). |
07-19-2016, 03:06 PM | #7 |
creator of calibre
Posts: 44,512
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I changed it to a more common IE 11 variant, that might help: https://github.com/kovidgoyal/calibr...5202bf567d0abc
|
07-19-2016, 03:10 PM | #8 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jul 2016
Device: kindle
|
Thanks, Kovid. Would it be possible to give users the option to solve the captcha when Amazon presents one?
|
07-19-2016, 03:12 PM | #9 |
creator of calibre
Posts: 44,512
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, way too much work.
|
07-19-2016, 03:39 PM | #10 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jul 2016
Device: kindle
|
Okay, I just reverted to Calibre 2.58. I'm no longer getting a captcha error.
|
07-20-2016, 08:51 PM | #11 |
Junior Member
Posts: 6
Karma: 10
Join Date: Oct 2013
Location: Sydney, Australia
Device: Kindle Voyage
|
Hmmm... was wondering why all my metadata searches today were only returning results from Google and none from Amazon.
Am using Calibre 2.62 |
07-21-2016, 09:21 AM | #12 |
Junior Member
Posts: 6
Karma: 10
Join Date: Oct 2013
Location: Sydney, Australia
Device: Kindle Voyage
|
How about breaking the UA out as a variable that can be over-ridden in the Calibre preferences?
Yes, not a permanent solution, but at least when it does happen, it allows advanced user to make a change that will provide some relief. |
07-21-2016, 09:41 AM | #13 |
Cracking Coding Interview
Posts: 33
Karma: 10
Join Date: Mar 2015
Device: iPhone
|
Upgrade to latest calibre.
|
07-21-2016, 11:01 AM | #14 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jul 2016
Device: kindle
|
|
07-22-2016, 06:10 PM | #15 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2016
Device: Kindle Paperwhite
|
I am also experiencing the same issue with Amazon Meta Data or Covers with a Captcha error when I look at the details. When I downgraded to 2.58 as suggested above I was also able to do 40+ book without issue. Is there a way to upgrade to the latest and bring over the amazon.py portion from the 2.58 codebase and apply it to the 2.62/63 version? Maybe a quick fix until a more permanent solution is found?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aussies launch anti-CAPTCHA petition. Is it time to kill CAPTCHAs? | Alexander Turcic | Lounge | 30 | 08-16-2013 08:32 PM |
Bug in Kobo processing of epub files causing hang in "Processing content" | BensonBear | Kobo Reader | 21 | 12-21-2012 06:47 AM |
Get books bug for Amazon UK | rustleg | Library Management | 1 | 10-21-2012 02:25 PM |