12-18-2023, 03:06 AM | #31 | |
Enthusiast
Posts: 31
Karma: 63058
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. |
|
12-18-2023, 03:33 AM | #32 | |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
Advert | |
|
12-18-2023, 05:36 PM | #33 | |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
12-19-2023, 12:25 AM | #34 |
Enthusiast
Posts: 31
Karma: 63058
Join Date: Feb 2012
Device: Kobo Aura One
|
|
12-19-2023, 02:25 AM | #35 |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
Advert | |
|
12-19-2023, 12:34 PM | #36 |
Guru
Posts: 773
Karma: 340954
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.
|
12-19-2023, 01:01 PM | #37 |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
12-19-2023, 10:40 PM | #38 |
Guru
Posts: 773
Karma: 340954
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 10:47 PM. |
01-13-2024, 01:44 AM | #39 |
Enthusiast
Posts: 31
Karma: 63058
Join Date: Feb 2012
Device: Kobo Aura One
|
Update added to the original post.
|
01-16-2024, 01:39 PM | #40 | |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
01-21-2024, 05:07 AM | #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 05:27 AM. |
03-06-2024, 11:49 PM | #42 | |
want to learn what I want
Posts: 1,255
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Quote:
|
|
03-29-2024, 06:13 AM | #43 |
want to learn what I want
Posts: 1,255
Karma: 6426810
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. |
04-27-2024, 04:01 AM | #44 |
want to learn what I want
Posts: 1,255
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
not working for me anymore... maybe GR changed something on their end
|
04-27-2024, 04:13 AM | #45 |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
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 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Author Book Count Hierarchy | DaltonST | Plugins | 60 | 04-15-2023 03:38 PM |
[GUI Plugin] Author Book Count | DaltonST | Plugins | 55 | 10-20-2022 12:59 PM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 04:15 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |
[GUI Plugin] Sony PRS-T1 notes (handwriting) exporter | sjvs | Plugins | 24 | 09-27-2012 11:28 AM |