View Single Post
Old 08-17-2013, 06:03 AM   #185
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by maniattico View Post
Hi.

Thank you for the work. However, half of my library are not found by goodreads.

One of that is the following (for example):

calibre, version 0.9.39
ERROR: No se encontraron coincidencias: <p>No se pudo encontrar ningún libro que coincidiera con su búsqueda. Inténtelo haciendo la búsqueda <b>menos específica</b>. por ejemplo, use sólo el apellido del autor y una sola palabra del título.<p>Para ver el registro completo, pulse «Mostrar detalles».

Running identify query with parameters:
{u'authors': [u'John Connolly'], u'identifiers': {}, u'timeout': 30, u'title': u'Todo Lo Que Muere'}
Using plugins: Goodreads
The log from individual plugins is below

****************************** Goodreads ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')]
Found 0 results
Downloading from Goodreads took 1.07399988174
Querying: http://www.goodreads.com/search?sear...e=books&search[query]=Todo+Lo+Que+Muere+John+Connolly
Rejecting as not close enough match: Every Dead Thing (Charlie Parker, #1) [u'John Connolly']
No matches found with query: u'http://www.goodreads.com/search?search_type=books&search[query]=Todo+Lo+Que+Muere+John+Connolly'

************************************************** ******************************
The identify phase took 1.22 seconds
The longest time (1.074000) was taken by: Goodreads
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 0 merged results, merging took: 0.00 seconds




If I copy the URL and put it on a browser, goodreads match a result:

http://www.goodreads.com/search?sear...e=books&search[query]=Todo+Lo+Que+Muere+John+Connolly

Thank you in advanced.

Regards
The issue is the goodreads search engine, or at least the way I am calling it anyways. If you put that URL in your browser you will see that it only returns one match (or at least it does for me) and as per the log output it is for the english title of the book.

The plugin has logic within it that compares the title of the book in the search result with the title you are searching for and rejects it if not close enough, which is what you are seeing in the log output. This logic has to be in there because otherwise the search engine can give you results for "related" books instead which are not the book you are after and your library would be full of mismatched metadata for the wrong book.

If you want to get a match from Goodreads for foreign language books, then you need to get the ISBN for the book (either using the Extract ISBN plugin or putting it in via other means such as from metadata or manually). The search process will then bypass the title match check within the plugin, as it assumes a match on ISBN will be for the right book.
kiwidude is offline   Reply With Quote