View Single Post
Old 08-03-2022, 08:09 AM   #588
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by thiago.eec View Post
I've recently noticed a problem with Goodreads metadata: it can't get a match when the id is already set. Looking at the log, seems like the plugin is adding '-aaaa' to the book link, which makes it invalid.

Log:
Spoiler:

Running identify query with parameters:
{'title': 'A Ascensão da Sombra', 'authors': ['Robert Jordan'], 'identifiers': {'isbn': '9788580577747', 'amazon_br': 'B011LWRJN6', 'goodreads': 'goodreads:25537962', 'skoob': '450262ed510131'}, 'timeout': 30}
Using plugins: Goodreads (1, 5, 3), Skoob Books (1, 5, 4), Amazon.com (1, 3, 0)
The log from individual plugins is below

****************************** Goodreads (1, 5, 3) ******************************
Found 0 results
Downloading from Goodreads took 2.0670974254608154
identify - start. title=A Ascensão da Sombra, authors=['Robert Jordan'], identifiers={'isbn': '9788580577747', 'amazon_br': 'B011LWRJN6', 'goodreads': 'goodreads:25537962', 'skoob': '450262ed510131'}
Goodreads book url: 'https://www.goodreads.com/book/show/goodreads:25537962-aaaa'
URL malformed: 'https://www.goodreads.com/book/show/goodreads:25537962-aaaa'

************************************************** ******************************
It is working fine here and the issue is not in the plugin. It is what you have as the Goodreads identifer. I have highlighted what you have wrong in the GR part of the metadata download. If you looked at that book in the metadata editor, you would see that you had "goodreads:goodreads:25537962". When the plugin generates the URL, it is simply removing the "goodread:" from the start of the identifier and using the rest. I don't know how you got that identifier, but, if you fix it the metadata download will work properly.
davidfor is offline   Reply With Quote