View Single Post
Old 07-23-2024, 03:03 AM   #126
josephyw
Member
josephyw began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Mar 2021
Device: Kobo Libra H2O
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.
josephyw is offline   Reply With Quote