View Single Post
Old 05-28-2023, 05:01 AM   #10
igorius
Zealot
igorius began at the beginning.
 
Posts: 114
Karma: 34
Join Date: Jun 2015
Device: ipad & inkpad X
Plugin spits out errors since calibre 6.17:

Code:
****************************** Amazon.com Multiple Countries (1, 0, 0) ****************************** 
Found 0 results 
Downloading from Amazon.com Multiple Countries took 0.4010591506958008 
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Server: amazon
Downloading details from: https://www.amazon.com/dp/bc800870-f598-4f1c-863e-c7b12fbb33ef
URL not found: 'https://www.amazon.com/dp/bc800870-f598-4f1c-863e-c7b12fbb33ef'
Plugin Amazon.com Multiple Countries failed
Traceback (most recent call last):
  File "calibre/ebooks/metadata/sources/amazon.py", line 112, in parse_details_page
  File "mechanize/_mechanize.py", line 241, in open_novisit
  File "mechanize/_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals>.httperror_seek_wrapper: HTTP Error 404: Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/ebooks/metadata/sources/identify.py", line 47, in run
  File "calibre/ebooks/metadata/sources/amazon.py", line 1575, in identify
  File "calibre/ebooks/metadata/sources/amazon.py", line 116, in parse_details_page
calibre.ebooks.metadata.sources.amazon.UrlNotFound: The URL https://www.amazon.com/dp/bc800870-f598-4f1c-863e-c7b12fbb33ef was not found (HTTP 404)
and here (look at the time it needs...)
Code:
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36'), ('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'), ('Upgrade-insecure-requests', '1'), ('Referer', 'https://www.amazon.de/')] 
Downloaded cover: 404x500 
Took 111.24506187438965 seconds 
No cached cover found, running identify
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
Server: amazon
Downloading details from: https://www.amazon.de/Waldwissen-Erstaunliche-Erkenntnisse-umfassendste-Standardwerk-ebook/dp/B0BMGF5MQ7/ref=sr_1_1?field-isbn=9783641294229&qid=1684060246&refinements=p_66%3A9783641294229&sr=8-1&unfiltered=1
Downloading cover from: https://m.media-amazon.com/images/I/51JT7sokXzL.jpg
and finally
Code:
****************************** Amazon.com Multiple Countries (1, 0, 0) ****************************** 
Found 3 results 
Downloading from Amazon.com Multiple Countries took 106.34308004379272
igorius is offline   Reply With Quote