![]() |
#1876 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
Jimm, did you consider switching to Beautiful Soup 4? It should be 100% backwards-compatible and have an even more robust parser IIRC.
|
![]() |
![]() |
#1877 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
I tried again now and ran into problems including it in the plugin. bs4 is designed and packaged to be installed like a good python package--not bundled into the somewhat odd distro zips that calibre plugins use. And I also support CLI and Google AppEngine deployment from the same code. I may investigate a bit more with CLI, but I don't have high hopes. |
|
![]() |
![]() |
#1878 |
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
|
Still the same story. Why did I get funny characters instead of quote marks?
http://www.ncisfiction.com/story.php?stid=05113 |
![]() |
![]() |
#1879 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
You can add this to your personal.ini to fix that story, but you may need to remove it later for other stories: Code:
[www.ncisfiction.net] website_encodings:utf8, iso-8859-1, Windows-1252 |
|
![]() |
![]() |
#1880 | |
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
|
Quote:
![]() |
|
![]() |
![]() |
#1881 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Spoiler:
There's a character that can't be interpreted as UTF8: gift bags �" So the UTF8 decoding fails and it falls back to iso-8859-1 which doesn't care as much. Nothing I can do about it when the author puts bad characters in. Sorry. But it's a completed one-shot, so just copy-pasting the text in using Sigil or Tweak Book should be easy. Last edited by JimmXinu; 09-13-2013 at 01:22 PM. Reason: correct typo |
|
![]() |
![]() |
#1882 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
|
If I download an anthology direct with "For Antholoy EPUB" in comments is a summary of the titles of the books.
Is it possible to change that to the Description on the series-page? For example: http://archiveofourown.org/series/10723 |
![]() |
![]() |
#1883 | |
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
|
Quote:
![]() |
|
![]() |
![]() |
#1884 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
|
|
![]() |
![]() |
#1885 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Version 1.7.44 - 14 Sept 2013
|
![]() |
![]() |
#1886 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
|
|
![]() |
![]() |
#1887 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Attached is a version with a fix for whofic.com.
UPDATE Sep 25, 2013 - Remove obsolete beta versions Last edited by JimmXinu; 09-25-2013 at 04:46 PM. Reason: Remove obsolete beta versions |
![]() |
![]() |
#1888 |
Bujavid tekikin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
|
Jimm, or anyone who's got this figured out: I've got some downloaded fics where there were cover images included, but since I've set Generate Cover to run by default on new books in FFDL (so anthologies would also have covers generated automatically), it generates the default cover instead of using the included cover image for those fics. Is there a setting where I can automatically generate the default cover for downloaded fics, but still have it respect make_firstimage_cover:true in personal.ini where there's images in the epub?
|
![]() |
![]() |
#1889 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,034
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Sefiriot -
If it's anthologies you're trying to use Generate Cover for, I use this: Code:
[defaults] add_to_generate_cover_settings: ${anthology}=>true=>FFDL |
![]() |
![]() |
#1890 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Hi,
I'm still receiving the cannot update metadata on ebooks and I think part of the problem is if there is no data to fill in the custom column (like if a story has 0 reviews) I receive the error message that the metadata couldn't be updated. However, the other custom columns filled in information. Here is the message I recieved on the latest story download. calibre, version 1.3.0 ERROR: Error Updating Metadata: <p>An error has occurred while FFDL was updating calibre's metadata for <a href='http://archiveofourown.org/works/968232'>The Victory of Shadows</a>.</p>The ebook has been updated, but the metadata has not. Traceback (most recent call last): File "calibre_plugins.fanfictiondownloader_plugin.ffdl_ plugin", line 1113, in update_books_loop File "calibre_plugins.fanfictiondownloader_plugin.ffdl_ plugin", line 1512, in update_metadata File "site-packages\calibre\db\legacy.py", line 646, in set_custom File "site-packages\calibre\db\cache.py", line 939, in set_field File "site-packages\calibre\db\write.py", line 509, in set_books File "site-packages\calibre\db\write.py", line 509, in <dictcomp> File "site-packages\calibre\db\write.py", line 88, in adapt_number ValueError: invalid literal for int() with base 10: '' |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Count Pages | kiwidude | Plugins | 1849 | 08-30-2025 01:22 PM |
[GUI Plugin] Resize Cover | kiwidude | Plugins | 100 | 07-10-2025 08:50 AM |
[GUI Plugin] Find Duplicates | kiwidude | Plugins | 1124 | 04-18-2025 09:19 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |