|
|
#241 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,823
Karma: 13151505
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
|
|
|
|
|
#242 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,442
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I wasn't posting to fix a permission error. Besides, I don't think the problem is with the plugin. I posted so if anyone else was looking as the log, they would not have the warning shown.
|
|
|
|
|
|
#243 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,442
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
One thing I don't get is why anyone would complain about having the warning fixed. |
|
|
|
|
|
|
#244 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,426
Karma: 182544230
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Perhaps that the poster immediately above your message was asking about an issue with that caused installing the Kobo Metadata plugin to fail? I suspect that many people would think that you were posting a version that fixed that install issue when you were correcting a cosmetic error that would not prevent the plugin from installing.
|
|
|
|
|
|
#245 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,442
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#246 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,426
Karma: 182544230
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Has anyone else tried adding the 'uses_camoufox_worker = True' bits and bobs to this or other plugins?
|
|
|
|
|
|
#247 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,442
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#248 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,210
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite, Linux Mint
|
Following up on DNSB's question about uses_camoufox_worker: on its own that line does nothing for this plugin. The shared Camoufox worker in 9.17 only has handlers for Amazon and Google Images, and the plugin keeps fetching with cloudscraper anyway.
There is another way, though. calibre 9.17 also ships calibre.web.automate.recipes.Browser, the Camoufox browser used by news recipes. It doesn't need a handler: you create it and call open(url), much like mechanize. I've made a test build of Kobo Metadata (1.13.3, attached) that uses it directly. Changes
Limitations
How to test
It would help to know whether it now finds books that used to fail, how bulk downloads behave, and which country/language store you use. This is a test build, not an official release. @NotSimone, if it works well I'm happy to send it as a pull request. @NotSimone, I've also opened an issue on GitHub with the source changes as a patch, so you can review exactly what was changed in the test build I posted above: https://github.com/NotSimone/Kobo-Metadata/issues/19 It only touches __init__.py and kobo_metadata.py. It's your plugin, so feel free to take it, change it or drop it. Anyone testing the build, please keep posting results here. Last edited by dunhill; 10-25-2026 at 10:26 PM. |
|
|
|
|
|
#249 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,426
Karma: 182544230
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I'll give that a try. I was working on modifying the Camoufox worker to allow me to use other plugins with it but so far the results were less than satisfying.
|
|
|
|
|
|
#250 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,823
Karma: 13151505
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I will check because, as I've got my own version of some plugins, perhaps it's useful. Just a piece of warning: for me, not only the first download is slower.
|
|
|
|
|
|
#251 | |
|
Book Enjoyer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 704952
Join Date: Sep 2023
Device: Kobo Libra 2
|
Quote:
|
|
|
|
|
|
|
#252 |
|
Book Enjoyer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 704952
Join Date: Sep 2023
Device: Kobo Libra 2
|
Sorry maybe I should clarify but I was asking about what you changed to fix this.
|
|
|
|
|
|
#253 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,210
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite, Linux Mint
|
Quote:
Thanks for taking a look. |
|
|
|
|
|
|
#254 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,426
Karma: 182544230
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Several ways of handling this. You can change a string to a raw string ( r"C:\Data\Test\" ), change the \ to \\ to escape the \ ( "C:\\Data\\Test\\" ) or you can try changing the backslash to a front slash ( r"C:/Data/Test/" ).
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Metadata Source Plugin] Kobo Books | davidfor | Plugins | 211 | 12-28-2024 07:40 PM |
| [Metadata Source Plugin] BOL.com (DE) | Pr.BarnArt | Plugins | 52 | 06-01-2023 04:50 PM |
| How do I know which Metadata Source Plugin was called from fetch-ebook-metadata? | eryMpexI | Library Management | 6 | 04-22-2023 08:58 AM |
| Read a book's metadata in a Metadata source plugin? | J-H | Development | 2 | 03-30-2021 09:08 AM |
| [Metadata Source Plugin] Empty Plugin? (Fake Identifier) | mneimeyer | Plugins | 3 | 11-11-2019 08:07 PM |