View Single Post
Old 07-23-2024, 10:14 PM   #129
NotSimone
Book Enjoyer
NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.NotSimone ought to be getting tired of karma fortunes by now.
 
Posts: 68
Karma: 704770
Join Date: Sep 2023
Device: Kobo Libra 2
Quote:
Originally Posted by josephyw View Post
Unfortunately, this plugin hasn't worked for me in some time. I am currently on v1.6.3 of this plugin on Calibre 7.15, and I am still getting unyielding 403 errors, like the following:

Code:
Running identify query with parameters: 
{'title': 'Nostalgia', 'authors': ['Mircea Cǎrtǎrescu'], 'identifiers': {}, 'timeout': 30} 
Using plugins: Kobo Books (1, 10, 2), Google (1, 1, 1), Amazon.com (1, 3, 9) 
The log from individual plugins is below 

****************************** Kobo Books (1, 10, 2) ****************************** 
Found 0 results 
Downloading from Kobo Books took 0.17281770706176758 
identify - title: "Nostalgia" authors= "['Mircea Cǎrtǎrescu']"
create_query - title: "Nostalgia"
create_query - after decode title: "Nostalgia"
create_query - title_tokens: "['Nostalgia']"
Querying: https://www.kobo.com/search?query=Nostalgia+Mircea+C%C7%8Ert%C7%8Erescu&fcmedia=Book&fclanguages=all
Failed to make identify query: 'https://www.kobo.com/search?query=Nostalgia+Mircea+C%C7%8Ert%C7%8Erescu&fcmedia=Book&fclanguages=all'
Traceback (most recent call last):
  File "calibre_plugins.kobobooks.__init__", line 222, in identify
    response = br.open_novisit(query, timeout=timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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 403: Forbidden 

********************************************************************************
I am unclear what to do to re-enable the plugin's functionality, as the dev has been responsive for incorporating solutions, but nothing has worked for me with each iteration of the plugin. Does anybody have any ideas to overcome this 403 error? I greatly appreciate and admire what it takes to learn to code and develop something like this.
The logs look like you are using the older Kobo Books plugin, not this one (Kobo Metadata). Can you try uninstalling that plugin and trying again? Or making sure you select the right one in the metadata providers list.

Last edited by NotSimone; 07-23-2024 at 10:18 PM.
NotSimone is offline   Reply With Quote