Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-03-2026, 01:01 PM   #12151
gthesob
Member
gthesob began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jul 2022
Device: none
Quote:
Originally Posted by swizzlespoon View Post
FWIW I was getting 403 errors with use_archiveofourown_gay:true but when I switched it to false I'm able to download from regular old AO3 without any errors.
Thank you!
gthesob is offline   Reply With Quote
Old 07-03-2026, 03:49 PM   #12152
cantper
Junior Member
cantper began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2024
Device: none
After installing the latest version, all Royalroad stories are giving the 403 error.

HTTP Error in FFF '403 Client Error: Forbidden for url: https://www.royalroad.com/fiction/124774'(403)

This used to happen with AO3 for me, but now AO3 is working, Royalroad is not...

How can I revert to a previous version of FFF? after downloading the plugin zip from Github
cantper is offline   Reply With Quote
Old 07-03-2026, 03:57 PM   #12153
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,510
Karma: 5010203
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Cloudflare, not FFF. I assume there's wide spread network attacks going on. Again.

Works for me with Flaresolverr. See https://github.com/JimmXinu/FanFicFa.../ProxyFeatures

Past versions of FFF are all available at https://github.com/JimmXinu/FanFicFare/releases
JimmXinu is offline   Reply With Quote
Old 07-03-2026, 04:27 PM   #12154
cantper
Junior Member
cantper began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2024
Device: none
Thanks Jimm. It's so strange. I just updated a few RRL stories earlier today, then downloaded the new version, and it stopped working so I thought it was that.

I figured out how to install past versions, but still showing the 403. Hopefully it's just cloudflare.
cantper is offline   Reply With Quote
Old 07-04-2026, 10:37 AM   #12155
cantper
Junior Member
cantper began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2024
Device: none
Just confirming that the problem fixed itself. Seems like a coincidence.
cantper is offline   Reply With Quote
Old 07-05-2026, 02:20 AM   #12156
abeesee
A bee, see?
abeesee began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2026
Device: my phone
help with metadata

There's probably an easy answer to this, but I haven't found it yet, so I'm hoping someone can help.

What I want is to show some pre-specified list items from freeformtags in the genre field.

My first thought was to add a "freeformgenre" to "extra_valid_entries" then to copy the list items I want from "freeformtags" into that one and assign "freeformgenre" to "include_in_genre" However as far as I could tell, there isn't a way to copy one "valid_entries" to another.

So here's what I ended up doing.
Code:
include_metadata_post:
 genre=~(Angst|Hurt|Comfort|Dark|Whump|Fluff|)
Then a couple lines down...
Code:
include_in_genre:freeformtags
However, this only filters out the extraneous freeform tags if used with "include_metadata_post"

If you use "include_metadata_pre" then it doesn't filter the freeform tags at all. Which is inconvenient because (as I understand it) I can't use "replace_metadata" to format the list entries assigned to "genre" if I use "include_metadata_post" as it's run after "replace_metadata"

I hope that makes sense. I realize I'm probably going about this completely backwards, but I'm not sure how else to accomplish this.

Edit: This is for fics imported from [archiveofourown.org]

Last edited by abeesee; 07-05-2026 at 02:23 AM. Reason: more details, grammar
abeesee is offline   Reply With Quote
Old 07-05-2026, 02:32 AM   #12157
abeesee
A bee, see?
abeesee began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2026
Device: my phone
My post seems to have been removed. I'm assuming it's because there's a certain amount of time new members need to wait before posting? But I couldn't see any reason listed so I'm not sure. I was asking for help with formatting metadata. If this is not the correct place for that, could you let me know where I should post instead? This post is still here, so I guess it was because of the website header I added. I pasted my original post below.

There's probably an easy answer to this, but I haven't found it yet, so I'm hoping someone can help.

What I want is to copy some set of pre-specified freeform tags into genre.

My first thought was to add a "freeformgenre" to "extra_valid_entries" then to copy the list items I want from "freeformtags" into that one and assign "freeformgenre" to "include_in_genre" However as far as I could tell, there isn't a way to copy one "valid_entries" to another.

So here's what I ended up doing.
Code:
include_metadata_post:
 genre=~(Angst|Hurt|Comfort|Dark|Whump|Fluff|)
Then a couple lines down...
Code:
include_in_genre:freeformtags
However, this only filters out the extraneous freeform tags if used with "include_metadata_post"

If you use "include_metadata_pre" then it doesn't filter the freeform tags at all. Which is inconvenience because (as I understand it) I can't use "replace_metadata" to format the list entries assigned to "genre" if I use "include_metadata_post" as it's run after "replace_metadata"

I hope that makes sense. I realize I'm probably going about this completely backwards, but I'm not sure how else to accomplish this.

This is for fic imported from Archive of Our Own, and the code written is under that site's heading in the ini file.

Last edited by abeesee; 07-05-2026 at 02:37 AM.
abeesee is offline   Reply With Quote
Old 07-05-2026, 03:13 AM   #12158
SilentShadow123
Enthusiast
SilentShadow123 began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jun 2021
Device: none
Hi, FFF was working really well for me. However, I'm now getting an error after I manually erased my Chrome Cache.

I am downloading fanfics from AO3 and it is giving me this error "[Errno 2] No such file or directory:" and then it lists my pathway to my cache file.

What I have below is in personal.ini and it was working fine for me till just now:
[archiveofourown.org]
#use_archiveofourown_gay:true
## Enable Browser Cache for AO3
use_browser_cache:true
browser_cache_age_limit:4.0
use_browser_cache_only:true
open_pages_in_browser:true
## Uncomment if you want adult works:
is_adult:true

What can I try to do to fix this?
SilentShadow123 is offline   Reply With Quote
Old 07-05-2026, 03:58 AM   #12159
abeesee
A bee, see?
abeesee began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2026
Device: my phone
Quote:
Originally Posted by SilentShadow123 View Post
Hi, FFF was working really well for me. However, I'm now getting an error after I manually erased my Chrome Cache.

I am downloading fanfics from AO3 and it is giving me this error "[Errno 2] No such file or directory:" and then it lists my pathway to my cache file.
Hey Silent, have you checked in your windows explorer to confirm that the pathway FFF is following is still valid? If you are on windows you should be able to c/p the pathway from the error message into the your computer window to see if it still works.

If that's the issue you should be able to recreate the missing folders to fix it.
abeesee is offline   Reply With Quote
Old 07-05-2026, 10:06 AM   #12160
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,510
Karma: 5010203
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-Reply

Quote:
Originally Posted by abeesee View Post
My post seems to have been removed. I'm assuming it's because there's a certain amount of time new members need to wait before posting? But I couldn't see any reason listed so I'm not sure. I was asking for help with formatting metadata. If this is not the correct place for that, could you let me know where I should post instead? This post is still here, so I guess it was because of the website header I added. I pasted my original post below.
New users' posts are moderated at first due to spam bots. Until you hit 10ish posts, your posts are hidden until manually approved by a moderator. Just be patient.

Quote:
Originally Posted by abeesee View Post
There's probably an easy answer to this, but I haven't found it yet, so I'm hoping someone can help.
You copy one entry to another with include_in_X. Like:
Code:
add_to_extra_valid_entries:,myentry
include_in_myentry:freeformtags
When you do include_in_genre:freeformtags you are overriding the value set in defaults.ini and removing ao3categories--if that's your intention, fine.

Your regex as shown is flawed, remove the | after Fluff. It works for me in both _pre and _post with that fix.

Quote:
Originally Posted by SilentShadow123 View Post
Hi, FFF was working really well for me. However, I'm now getting an error after I manually erased my Chrome Cache.

I am downloading fanfics from AO3 and it is giving me this error "[Errno 2] No such file or directory:" and then it lists my pathway to my cache file.
If you cleared your cache, but haven't manually visited any sites to restart the cache yet, that may be the cause.

Otherwise, I'd need to see a debug log. Calibre Preferences -> Restart in debug.
JimmXinu is offline   Reply With Quote
Old 07-05-2026, 04:30 PM   #12161
abeesee
A bee, see?
abeesee began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2026
Device: my phone
metadata includes help

Thank you for explaining that, I really appreciate it.

Quote:
Originally Posted by JimmXinu View Post
Your regex as shown is flawed, remove the | after Fluff. It works for me in both _pre and _post with that fix.
The full regex I was using is below, though I've shortened it now for testing. I'm including it anyway as I suspect there is SOMETHING wrong with it.
Code:
(Angst|Hurt|Comfort|Dark|Whump|Fluff|Romance|Slow Burn|Crack|Humor|Comedy|PWP|Porn|Smut|Alternate Universe|Crossover|Fix-It|One Shot|Songfic|Drabble|Character Study)
I'm also wondering if a (?i) at the beginning would make it case-insensitive for every word or only the first one. When I tried to include it, I got an error, so I just took it out.

I changed what is in the .ini to this.
Code:
extra_valid_entries:fandoms, freeformtags, freeformgenres, (etc.)

## Added freeformgenres statements
include_in_freeformgenres:freeformtags
freeformgenres_label:Genres

## Metadata Specifications
## - Sitewide
## --- Include
include_metadata_post:
 freeformgenres=~(Angst|Hurt|Comfort|Dark|Whump|Fluff)

## What to show in which columns. Only listed if different than default.
include_in_publisher:"Archive of Our Own"
include_in_category:fandoms
include_in_rating:rating
include_in_genre:freeformgenres
Still not working with _pre for me, but does work with _post. I included some not relevant statements that surround the ones I've mentioned in case that's affecting anything.
abeesee is offline   Reply With Quote
Old 07-05-2026, 04:55 PM   #12162
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,510
Karma: 5010203
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by abeesee View Post
I'm also wondering if a (?i) at the beginning would make it case-insensitive for every word or only the first one. When I tried to include it, I got an error, so I just took it out.
(?i) applies to an entire expression, not just one part, and can only appear at the very beginning of the expression.

Quote:
Originally Posted by abeesee View Post
Code:
extra_valid_entries:fandoms, freeformtags, freeformgenres, (etc.)

## Added freeformgenres statements
include_in_freeformgenres:freeformtags
freeformgenres_label:Genres

## Metadata Specifications
## - Sitewide
## --- Include
include_metadata_post:
 freeformgenres=~(Angst|Hurt|Comfort|Dark|Whump|Fluff)

## What to show in which columns. Only listed if different than default.
include_in_publisher:"Archive of Our Own"
include_in_category:fandoms
include_in_rating:rating
include_in_genre:freeformgenres
Still not working with _pre for me, but does work with _post. I included some not relevant statements that surround the ones I've mentioned in case that's affecting anything.
It's hard to tell sometimes from snippets what's going on and what's intentional.

In personal.ini, I would use add_to_extra_valid_entries--extra_valid_entries is used a lot in defaults.ini and you are overriding it.

Without the complete picture, I can't say why _pre and _post are behaving differently. Assuming your include filter matches the original values.
JimmXinu is offline   Reply With Quote
Old 07-05-2026, 05:16 PM   #12163
MangoRoll
Junior Member
MangoRoll began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2026
Device: Calibre
I was trying to update a work, but the download job got stopped with the Error comment being just 'avif.'

Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.jobs", line 314, in do_download_for_worker
File "E:\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\writers \base_writer.py", line 218, in writeStory
File "E:\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\base_adapter.py", line 227, in getStory
File "E:\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\base_adapter.py", line 412, in getStoryMetadataOnly
File "E:\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\story.p y", line 1645, in load_oldimgs
KeyError: 'avif'

The work in question does have .avif images in it, which I know aren't supported, but they aren't in the new chapters. Back when I first downloaded the work in question, the .avif files just got saved as images that failed to load.

I tried downloading the work as a new book, tried downloading it in a different library, tried using the browser cache, and I just get the same error each time.
MangoRoll is offline   Reply With Quote
Old 07-05-2026, 06:30 PM   #12164
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,510
Karma: 5010203
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Story URL?
JimmXinu is offline   Reply With Quote
Old 07-05-2026, 07:29 PM   #12165
abeesee
A bee, see?
abeesee began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2026
Device: my phone
Quote:
Originally Posted by JimmXinu View Post
In personal.ini, I would use add_to_extra_valid_entries--extra_valid_entries is used a lot in defaults.ini and you are overriding it.
To clarify, you are saying I should remove the "freeformgenres" entry from the "extra_valid_entries" list and instead create it by writing:

Code:
add_to_extra_valid_entries: freeformgenres
Just asking, because doing that stopped it from working at all, so I'm thinking I misunderstood.

But you're right that there are somethings I intentionally removed that are unrelated to this. For example, I took out the freefromtags corrections, as I have never used FFF before this and so assumed the typo wouldn't be concern, but I didn't consider that this might make trouble shooting more difficult...

I think I'll reset the personal.ini to the default and see if that makes _pre work the way _post is. I did make a pastebin of the full ini file I have, but when I tried to add it to my post it went haywire. Thanks again!
abeesee is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 546 05-21-2026 02:44 PM
[GUI Plugin] Open With kiwidude Plugins 405 02-09-2026 07:54 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 11:00 AM.


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