![]() |
#31 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31
Karma: 30848
Join Date: Feb 2012
Device: Kobo Aura One
|
Quote:
I've also just updated the plugin with your requested feature of skipping authors that have been done previously. I'm doing this by adding a small print "Generated using the GR Author Notes plugin" to the end of the bio. It will only do this going forward, so any authors you have already run it on will rerun the first time, but will skip going forward. There is a checkbox you can check before starting if you want to update existing notes. |
|
![]() |
![]() |
![]() |
#32 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,323
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,323
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#34 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31
Karma: 30848
Join Date: Feb 2012
Device: Kobo Aura One
|
|
![]() |
![]() |
![]() |
#35 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,323
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 745
Karma: 308700
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
If you are a librarian on Goodreads you can add data on books with authors, I will leave it for you as information.
|
![]() |
![]() |
![]() |
#37 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,323
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
![]() |
![]() |
![]() |
#38 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 745
Karma: 308700
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
It is seen that by modifying the code some translations were lost.
There are some sequences that at first the translation took but now it doesn't. The code paragraph is in main.py Code:
canceledtext = _(f'Process was canceled after updating {dlg.authorstotal} author(s) \n\n{event} a total of {dlg.authorstotal} author bios to notes.\n\n') processedtext = _(f'Processed {len(authors)} author(s) \n\n{event} a total of {dlg.authorstotal} author bios to notes. \n\n') return _(f'{text}A total of {dlg.skippedtotal} author(s) were skipped based on html content.') I will not put the correction here, of what has already been translated until I can solve it. Last edited by dunhill; 12-19-2023 at 09:47 PM. |
![]() |
![]() |
![]() |
#39 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31
Karma: 30848
Join Date: Feb 2012
Device: Kobo Aura One
|
Update added to the original post.
|
![]() |
![]() |
![]() |
#40 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,323
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#41 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Nov 2010
Location: Niš, Srbija
Device: Tablet (Android)
|
I really like this plugin and I would like to ask why I get this error:
**** calibre, version 7.4.0 ERROR: Unhandled exception: <b>UnboundLocalError</b>:cannot access local variable 'book_dict' where it is not associated with a value calibre 7.4 embedded-python: True Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19045') Python 3.11.5 Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free') Interface language: None .... Traceback (most recent call last): File "calibre_plugins.grauthornotes.main", line 66, in do_author_action File "calibre_plugins.grauthornotes.authornotes", line 21, in link File "calibre_plugins.grauthornotes.authornotes", line 174, in get_booksoup UnboundLocalError: cannot access local variable 'book_dict' where it is not associated with a value *** Since I have many authors, I select a few of them and at some point I get the specified error. After that nothing happens anymore and I have to select Cancel. What happened until then he collected Ok. Last edited by crnirg; 01-21-2024 at 04:27 AM. |
![]() |
![]() |
![]() |
#42 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,092
Karma: 6425162
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Quote:
|
|
![]() |
![]() |
![]() |
#43 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,092
Karma: 6425162
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Hi @azuravian, thanks again for this awesome plugin. I'm using it also on the book details section via custom column, so I made a modification to its html to make the output more compact. Now there's a technical adjustment beyond my knowledge that you might be able to do, if you find it necessary: can the plugin get the Author birth data from the mobile page, instead of the desktop one?
Take this author for instance: https://www.goodreads.com/author/sho...Dianne_Ascroft The plugin downloads this info: Born in Toronto, Canada However, the mobile page displays more complete data, which can be accessed on this link at the website footer: https://www.goodreads.com/toggle_mobile. At the end of the mobile page, on the right side, there's a spoiler-like expanding arrow that will show the full info on a section called "Author Details": Born in Toronto, Canada on January 19, 1960. This info is useful to filter authors born on a given date, using the FTS-like Notes search, like this: Unfortunately, the URL is the same for both website versions, so this would need a cookie to be passed, as coders say here. The cookie name is mobvious.device_type, I've attached them in case you want to take a look. |
![]() |
![]() |
![]() |
#44 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,092
Karma: 6425162
Join Date: Sep 2020
Device: Calibre E-book viewer
|
not working for me anymore... maybe GR changed something on their end
|
![]() |
![]() |
![]() |
#45 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,323
Karma: 12117215
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
![]() |
![]() |
![]() |
Tags |
author, calibre 7, goodreads, notes, plugin |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Author Book Count Hierarchy | DaltonST | Plugins | 60 | 04-15-2023 02:38 PM |
[GUI Plugin] Author Book Count | DaltonST | Plugins | 55 | 10-20-2022 11:59 AM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 03:15 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
[GUI Plugin] Sony PRS-T1 notes (handwriting) exporter | sjvs | Plugins | 24 | 09-27-2012 10:28 AM |