View Single Post
Old 11-07-2023, 02:39 PM   #503
leokennis
Member
leokennis began at the beginning.
 
leokennis's Avatar
 
Posts: 10
Karma: 10
Join Date: Dec 2015
Device: Kobo Clara HD
Hi! Since some time the plugin fails to find book covers from Bol, I get this error in the log:
Quote:
****************************** BOL_NL Covers ******************************
Request extra headers: [('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 1.3092751502990723 seconds
No cached cover found, running identify
Querying: https://www.bol.com/nl/s/?searchtext...text=media_all
BOL_NL url: 'https://www.bol.com/nl/nl/p/de-nadagen/9200000091698478/'
Error parsing cover for url: 'https://www.bol.com/nl/nl/p/de-nadagen/9200000091698478/'
Traceback (most recent call last):
File "calibre_plugins.BOL_NL.worker", line 203, in parse_details
self.cover_url = self.parse_cover(root)
File "calibre_plugins.BOL_NL.worker", line 965, in parse_cover
raw = response.decode('utf-8', errors='replace')
UnboundLocalError: local variable 'response' referenced before assignment

No cover found

************************************************** ******************************
leokennis is offline   Reply With Quote