Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-07-2023, 12:55 PM   #1
Clem2605
Connoisseur
Clem2605 began at the beginning.
 
Posts: 52
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
Downloading covers (bug?)

Hello,

I've just noticed that when I try to download covers for my books in calibre, it no longer displays several covers from various sources (in my case: Google, Google Image and Amazon) but only one cover from Amazon.

I first thought that it was an internet/downloading problem, as it happened before, but usually, it still displays some covers, and not always from Amazon, and it resolve itself when I search again or at most a few hours later/when my connexion gets better.
But I've got no connection problems right now and it's been 48 hours, and I've still been unable to see more than one cover from Amazon every time I do a search.

I could be that there is only an Amazon cover to download on the net for the books I'm looking for, but I was searching for Throne of Glass by Sarah J. Maas, one of the most well-known authors right now, so I doubt it (plus I tried for my Harry Potter books, just to be sure: same results).

Something I noticed is that it doesn't wait 60s after the first cover is found to stop the search, like I set it up, it stop the search really quickly.
I've tried to uncheck Amazon as a source, but it only stop searching really quickly.

From the few tests I've done, I think that it's either a case of the search shutting down too quickly so only Amazon has the time to download, or the other sources are broken.

Here is the log of one of my tries: (My checked sources for this one are Amazon, Google, Google Image and Open Library)
Spoiler:
Quote:
Starting cover download for: Throne of Glass
Query: Throne of Glass ['Sarah J. Maas'] {}

****************************** Google Images Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0')]
Failed to download valid cover
Took 0.30884408950805664 seconds
Search URL: https://www.google.com/search?as_st=...,iar:t,ift:jpg
No images found for, title: 'Throne of Glass' and authors: ['Sarah J. Maas']

************************************************** ******************************

****************************** Amazon.com Covers ******************************
Request extra headers: [('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.bing.com/search?q=Throne+of+Glass+Sarah+Maas+site%3Awww.ama zon.com'), ('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')]
Failed to download valid cover
Took 0.3988208770751953 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/72.0.3626.119 Safari/537.36
Server: auto
Making google query: https://www.google.com/search?q=Thro...www.amazon.com
Failed to find any results on results page, with title: Avant d'accéder à la recherche*Google
No search engine results for terms: Throne of Glass Sarah Maas
Trying the bing search engine instead
Making bing query: https://www.bing.com/search?q=Throne...www.amazon.com
Failed to find any results on results page, with title: Throne of Glass Sarah Maas site:www.amazon.com - Recherche
No search engine results for terms: Throne of Glass Sarah Maas
No matches found with query: ['Throne', 'of', 'Glass', 'Sarah', 'Maas']
No cover found

************************************************** ******************************

****************************** Open Library Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko')]
Failed to download valid cover
Took 0.0 seconds

************************************************** ******************************


Any help would be welcome!
Clem2605 is offline   Reply With Quote
Old 11-07-2023, 10:16 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Both google images and amazon are returning covers for me. See attached. If waiting for a day or so isnt fixing the issue for you, try rebooting in safe mode, just in case whatever is interfering is running on your computer.
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	45
Size:	396.6 KB
ID:	204626  
kovidgoyal is offline   Reply With Quote
Advert
Old 11-07-2023, 11:10 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Could this be a Locale issue?
I noticed the log was not all in English.
theducks is offline   Reply With Quote
Old 11-07-2023, 11:40 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by theducks View Post
Could this be a Locale issue?
I noticed the log was not all in English.
Not for something that started failing recently, unless the user changed his locale/location.
kovidgoyal is offline   Reply With Quote
Old 11-08-2023, 01:38 AM   #5
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by Clem2605 View Post
Making google query: https://www.google.com/search?q=Thro...www.amazon.com
Failed to find any results on results page, with title: Avant d'accéder à la recherche*Google
That sounds like Google complaining "How dare you do some bottish search. I can't show you any ads, this way. Eat these cookies! Solve the captcha! You must consent!"

Perhaps something related to EU's GDPR: (not exactly new)

https://www.twipla.com/en/blog/googl...ure-gdpr-fines

Last edited by Comfy.n; 11-08-2023 at 01:42 AM.
Comfy.n is offline   Reply With Quote
Advert
Old 11-08-2023, 01:42 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah I think that french translates as "Before accessing the search" so it must be a gdpr thing or a captcha thing. Sadly I dont have a machine in france to test with, but most likely it just needs some gdpr consent cookie to be set. If someone can figure that out and tell me what it is, I will add it. Just do a google search in your browser in france and use the dev tools to inspect the request for all cookies. Assuming its a "global" cookie not a per request one it should be easy.
kovidgoyal is offline   Reply With Quote
Old 11-08-2023, 11:00 AM   #7
Clem2605
Connoisseur
Clem2605 began at the beginning.
 
Posts: 52
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
Thanks for the answers!

I can confirm that 'Avant d'accéder à la recherche' means 'Before accessing the search' (I didn't notice that there was french in the log, I would have translated otherwise), and that I'm in France.
I didn't even know that something changed in Europe recently due to GDPR ^^'.
I don't know if the change is that recent: while I used to utilize this feature a lot, I didn't get any new books in the last year, and thus didn't utilize it as much as I used to. I honestly can't remember the last time I tried to use it and it worked (especially since at first I thought that it was just a temporary service problem, I might have encountered it and just shrugged it off the first few times).

So since my location seemed to be the problem, I tried with my VPN set in the US and, magic, it worked!! So, definitely, you found the problem, it's the location.

Honestly, I'm really not good at figuring out web problems, so I don't really know how to
Quote:
'use the dev tools to inspect the request for all cookies'.
I'll try searching this week-end, to see if I can find what you're looking for.
In the meantime, at least, we have a temporary solution to the problem.
Clem2605 is offline   Reply With Quote
Old 11-08-2023, 12:09 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Open the dev tools in your browser (usual ctrl+shift+i but varies by browser). Then go to the network tab, then paste the searhc url and press enter. The network tab will record all requests. Look at the one that returns the search html, and see if you can spot the cookies set in the request header.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading Covers in v5.1 Bricorn Calibre 8 10-20-2020 03:40 AM
[Old Thread] Bug in downloading metadata Dasun Library Management 3 03-21-2011 07:31 PM
0.7.45 not downloading covers? setherd Calibre 5 02-13-2011 06:32 PM
Help with downloading covers, please. Dullahir Calibre 11 11-10-2010 04:47 PM
Downloading Covers Lady Fitzgerald Calibre 2 05-09-2010 01:21 AM


All times are GMT -4. The time now is 03:00 AM.


MobileRead.com is a privately owned, operated and funded community.