View Single Post
Old 04-15-2018, 09:00 PM   #401
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 thekidsmom View Post
Thanks for the update! is there something that needs to be changed with the FRATING plugin to make that work again? ( @Davidfor, I think you created that one too?).
Sorry, not one of my plugins. But, the GoodreadsX plugin has the same problem. I would suggest posting in the plugins thread that there is a problem and point to the fixed plugin here. The author is usually reasonable quick to respond.

If you want to do the fix yourself, open the zip file and edit the file __init_.py. Find the line that looks like:
Code:
authors = first_result[0].xpath('./span[@itemprop="author"]/a/span')[0].text_content().strip().split(',')
and change it to:

Code:
authors = first_result[0].xpath('./span[@itemprop="author"]/div/a/span')[0].text_content().strip().split(',')
The bit in red is what needs to be added.
davidfor is offline   Reply With Quote