Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 10-22-2025, 05:48 PM   #11401
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,332
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Is there a way, maybe in longtext metadata column, to dfferentiate newly-downloaded fic from updated one after download?
ownedbycats is online now   Reply With Quote
Old 10-22-2025, 06:42 PM   #11402
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,120
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
If you use log page and save numWords, you could look at words_added. That's my general indicator for new download vs update--my words_added column.

I also I use this, but the only place it's useful is in logpage_entries because logpage automatically leaves out unchanged values except on overwrite, so this indicates overwrite always vs 'lots of fields changed':
Code:
add_to_extra_valid_entries:,fulldownload
include_in_fulldownload:title
fulldownload_label:New Download

add_to_replace_metadata:
 fulldownload=>^.*$=>Yes
JimmXinu is offline   Reply With Quote
Old 10-24-2025, 01:08 PM   #11403
Dudemanguy
Junior Member
Dudemanguy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2025
Device: Pocketbook PB740
Been having problems with FFF for a few days now that i didn't have before, every time i try to download fics from ao3 using URL's from webpage feature i get the following error:
calibre, version 8.13.0
ERROR: Unhandled exception: <b>KeyError</b>:'href'

calibre 8.13 embedded-python: True
macOS-26.0.1-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '25.0.0', 'Darwin Kernel Version 25.0.0: Wed Sep 17 21:41:23 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8122')
Python 3.11.14
OSX: ('26.0.1', ('', '', ''), 'arm64')
Interface language: None
EXE path: /Applications/calibre.app/Contents/MacOS/calibre
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 27, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 27, 0) && FanFicFare (4, 50, 0) && KFX metadata reader (from KFX Input) (2, 27, 0) && From KFX (2, 27, 0) && KFX Input (2, 27, 0) && Obok DeDRM (10, 0, 9)
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 712, in get_urls_from_page_menu
frompage = self.get_urls_from_page(url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 735, in get_urls_from_page
return get_urls_from_page(url,configuration)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/NAME/Library/Preferences/calibre/plugins/FanFicFare.zip/fanficfare/geturls.py", line 44, in get_urls_from_page
return adapter.get_urls_from_page(url,normalize)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/NAME/Library/Preferences/calibre/plugins/FanFicFare.zip/fanficfare/adapters/base_adapter.py", line 504, in get_urls_from_page
series = self.get_series_from_page(url,data,normalize)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/NAME/Library/Preferences/calibre/plugins/FanFicFare.zip/fanficfare/adapters/base_otw_adapter.py", line 688, in get_series_from_page
pageurls = [ a['href'] for a in pageas ]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/NAME/Library/Preferences/calibre/plugins/FanFicFare.zip/fanficfare/adapters/base_otw_adapter.py", line 688, in <listcomp>
pageurls = [ a['href'] for a in pageas ]
~^^^^^^^^
File "bs4/element.py", line 1573, in __getitem__
KeyError: 'href'
Dudemanguy is offline   Reply With Quote
Old 10-24-2025, 01:38 PM   #11404
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,120
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I believe that is already addressed in the posted test version.
JimmXinu is offline   Reply With Quote
Old 10-24-2025, 06:34 PM   #11405
Elaine T
Connoisseur
Elaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolate
 
Posts: 70
Karma: 33664
Join Date: Jun 2015
Device: kindle paperwhite
Quote:
Originally Posted by JimmXinu View Post
I believe that is already addressed in the posted test version.
FWIW, I just did a download from webpage and it behaved properly.
Elaine T is offline   Reply With Quote
Old Yesterday, 04:35 AM   #11406
HowWouldIKnow
Enthusiast
HowWouldIKnow began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Dec 2020
Device: Kobo Glo
Hello there.
Is it possible to get Ratings, SCore, Favorites from
Literotica?

On a side note: Can I see somewhere what additional fields there are per website?
HowWouldIKnow is offline   Reply With Quote
Old Yesterday, 09:51 AM   #11407
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,120
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by HowWouldIKnow View Post
Hello there.
Is it possible to get Ratings, SCore, Favorites from
Literotica?
The adapter for literotica collects these site specific entries:
Code:
extra_valid_entries:eroticatags,averrating
eroticatags_label:Erotica Tags
averrating_label:Average Rating
If you open an issue about adding additional metadata entries (with details about what and where they appear), I can call it to the addition of the dev who works on the adapter for literotica lately. (No promises they would be interested in doing it, tho.)
Quote:
Originally Posted by HowWouldIKnow View Post
On a side note: Can I see somewhere what additional fields there are per website?
Look in defaults.ini and search for the site's section. Look at the extra_valid_entries setting.
JimmXinu is offline   Reply With Quote
Old Today, 03:08 AM   #11408
Mandabar
Fanfiction Devourer
Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.
 
Posts: 48
Karma: 539564
Join Date: Nov 2012
Device: Android: Moon+ Reader Pro
I just noticed something today. If I'm following a story, say on royalroad, that like many others likes to stub itself. Deleting chapters to make them exclusively paid for, on Amazon KU is the usual place.

Used to be, I would just get an error on update, due to having more chapters in my book copy than are available online. I would remove in-progress from the story, and make a new book with the same url to continue grabbing the newer content.

I've been updating less frequently to prevent as many hits to the site and story, so more stubbing and updates since stubbing must've happened in a few stories. What I'm referring to is... hmm..
An example.

A story has chapters 1-100. Chapters 5-40 get removed. My copy has chapters 1-100. The author keeps releasing chapters. I attempt to update the story, which is now 1-5:41-200, and it updates fine with no error message; however, it deletes from my copy chapters 6-40. Since my copy had less than the online version.

Is this a change to how it used to work, never removing content from local copy and forcing manual edits? Not sure how many stories I might've lost chapters from instead of just making a new book for. Or is this how it always worked, that I just avoided because of more frequent update scraping?

(Noticed today, was a single update and checked before updating and clearly saw the TOC lost the first book and was able to recover from recently deleted formats)

I know this has always been an issue, that had to be delt with manually by making new books.

Last edited by Mandabar; Today at 03:22 AM.
Mandabar is offline   Reply With Quote
Old Today, 06:29 AM   #11409
HowWouldIKnow
Enthusiast
HowWouldIKnow began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Dec 2020
Device: Kobo Glo
Quote:
Originally Posted by JimmXinu View Post
The adapter for literotica collects these site specific entries....
Look in defaults.ini and search for the site's section. Look at the extra_valid_entries setting.
Thank you!
So, extra_valid_entries are just those that are additionally available for this Website? Ahh and the same counts for extra_titlepage_entries, I see.
Does the order matter? ie.. Can I use the averrating in the custom_columns_settings, before the definition of the extra_valid_entires?
HowWouldIKnow is offline   Reply With Quote
Old Today, 10:37 AM   #11410
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,120
Karma: 5005503
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply

Quote:
Originally Posted by Mandabar View Post
An example.

A story has chapters 1-100. Chapters 5-40 get removed. My copy has chapters 1-100. The author keeps releasing chapters. I attempt to update the story, which is now 1-5:41-200, and it updates fine with no error message; however, it deletes from my copy chapters 6-40. Since my copy had less than the online version.
Update EPUB updates or not based just on the number of chapters. If there's more chapters on the site than in the epub, it assumes there are new chapters. It's always worked this way.

This whole business of authors deliberately removing chapters to encourage purchase is outside FanFicFare's paradigm. I am not interested in trying to work around it better for both technical and moral reasons. This has come up before.

Quote:
Originally Posted by HowWouldIKnow View Post
Thank you!
So, extra_valid_entries are just those that are additionally available for this Website? Ahh and the same counts for extra_titlepage_entries, I see.
Does the order matter? ie.. Can I use the averrating in the custom_columns_settings, before the definition of the extra_valid_entires?
As I recall, order of settings in the INI file doesn't matter. Order within a setting, like extra_titlepage_entries or replace_metadata matters a great deal.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 527 08-15-2025 01:36 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 04:40 PM.


MobileRead.com is a privately owned, operated and funded community.