View Single Post
Old 08-02-2022, 11:30 PM   #1637
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 andrew.c12 View Post
This is what I used to do as well, but then I changed the python code to open google and it finds the book reliably first time without having to change the search parameters

as an example

https://www.goodreads.com/search?search_type=books&search[query]=Empire+Ascendant%3A+A+LitRPG+Adventure+%28UnderVe rse+Book+6%29+Jez+Cajiao

vs

https://www.google.com/search?q=site...%29+Jez+Cajiao
The problem is that I would have to add code to parse the Google search page to find the GR link and then potentially fetch that page to check it is correct. I don't see a good reason to do that.

The problem with the GR search is that what you have is not actually the title of the book. You have "Empire Ascendant: A LitRPG Adventure (UnderVerse Book 6)". The title, according to to the cover, GR and FictionDB is just "Empire Ascendant". Including the subtitle, or maybe it's a tag-line, "A LitRPG Adventure" is not uncommon as there isn't anywhere else to store this in the basic metadata. (I have things like that in a separate subtitle column as Kobo devices have a subtitle.) Including the series info breaks a lot of things like this.

I generally recommend using the metadata download to get the details. If you have the Goodread metadata source plugin installed, it will find this book and set the identifier for the Goodreads Sync plugin to use. The search used there is a bit more comprehensive than the search here. This plugin assumes the metadata is correct and that the title is the correct title when searching. The metadata source plugins are more flexible and will try different things to get what could be a match. They are probably stripping the contents of parantheses from the title for the search, so I might look at doing that here when I have some time.

If the reason you are keeping the series info in the title is to be able to see it on your device, then I recommend looking at metadata plugboards. These can tweak the metadata when sending the book to the device. It can construct a title that includes the series info so that it is visible on the device, but, calibre library has these in separate fields. In general, this works better as you can configure different things for different devices and in the calibre library, it will look cleaner.
davidfor is offline   Reply With Quote