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 03-10-2025, 09:27 PM   #10441
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: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2025-03-10
- Add remove_empty_p option, usually for AO3/OTW. #1177

This has been asked for more than once and I never put it in, partly because I thought (and still think) it's something AO3 should have addressed. Right now, I just want to be able to fix something.

Let me know if you think it's too narrow or too broad, but I will expect references to story chapters showing that.

Code:
## Some sites/authors/stories (notably AO3/OTW) add empty p tags where
## they aren't intended by the author during document upload and not
## all authors know how/take the time to fix it.  This feature removes
## all "empty" <p> tags, ie, those containing only whitespace or <br>
## tags.  Literally: <p[^>]*>\s*(<br/>)*\s*</p>
#remove_empty_p: false
JimmXinu is online now   Reply With Quote
Old 03-10-2025, 10:09 PM   #10442
Droewyn
Junior Member
Droewyn began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2016
Device: Kobo Libra Color
Is anyone else having issues with uploading updates from email? Five of my fics updated today, and when I used FFF to download them it gave me the "none of these need to be updated" message. I verified that the version on ao3 has more chapters than the ones in Calibre.

Not sure if this has anything to do with the current, dreaded 525 error.
Droewyn is offline   Reply With Quote
Advert
Old 03-10-2025, 10:19 PM   #10443
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: 10,997
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thank you! I have to manually edit those before.
ownedbycats is online now   Reply With Quote
Old 03-10-2025, 11:58 PM   #10444
booster-t
Enthusiast
booster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it is
 
booster-t's Avatar
 
Posts: 32
Karma: 2464
Join Date: Dec 2020
Location: Vancouver, Canada
Device: iPad, Mac Mini M4 Pro
Quote:
Originally Posted by steltek View Post
Yeah, I've noticed it too.

I've been playing around with FFF settings in personal.ini, but haven't found anything that definitively helps with it yet though.

Sometimes, commenting out the "is_adult:true" setting for A03 in personal.ini lets it work. But, it isn't consistent.
This fix is inconsistent as noted. What's so frustrating is that you can download the whole story using A03's "show entire story" and then download. The main drawback to that is Calibre does not update the date of update :-) and there are no chapter numbers.

Last edited by booster-t; 03-11-2025 at 12:16 PM.
booster-t is offline   Reply With Quote
Old 03-11-2025, 05:53 AM   #10445
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: 10,997
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Is it possible to get open_pages to work without use_browser_cache_only? The download worked that time, so I couldn't tell.

Last edited by ownedbycats; 03-11-2025 at 08:49 AM.
ownedbycats is online now   Reply With Quote
Advert
Old 03-11-2025, 10:16 AM   #10446
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: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Is it possible to get open_pages to work without use_browser_cache_only? The download worked that time, so I couldn't tell.
No.

Without use_browser_cache_only, FFF tries to download directly when a page isn't found in cache. open_pages_in_browser was a later addition.
JimmXinu is online now   Reply With Quote
Old 03-11-2025, 02:51 PM   #10447
fmk007
Junior Member
fmk007 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2025
Device: paperwhite
Is it possible to add official AO3 mirror URL https://archive.transformativeworks.org to FFF?

Today opening story links in AO3 is very slow and lead very often to an error "SSL handshake failed". Also FFF get a timeout often.

The AO3 mirror site works as usual with the same requests, but the URL is not recognized with FFF.

Example:
AO3 (https://archiveofourown.org/works/48576721 -> very slow, sometimes error
Mirror: https://archive.transformativeworks.org/works/48576721 -> fast with no problems
fmk007 is offline   Reply With Quote
Old 03-11-2025, 03:37 PM   #10448
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: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I don't recall hearing of archive.transformativeworks.org before.

The current adapter code allows several domains based on what was allowed by their ssl cert at the time, but always normalizes to archiveofourown.org:
Code:
    @classmethod
    def getAcceptDomains(cls):
        return ['archiveofourown.org',
                'archiveofourown.com',
                'archiveofourown.net',
                'download.archiveofourown.org',
                'download.archiveofourown.com',
                'download.archiveofourown.net',
                'ao3.org',
                ]
But you appear to be correct that it is an official mirror judging by the FAQ What URLs can I use to access the Archive?

The question is whether those different domains point to different systems, or are just aliases to the same system. DNS does give different IPs for archiveofourown.org vs archive.transformativeworks.org, but given today's cloud systems, how much does that mean?

Another problem: I was not able to login on archive.transformativeworks.org -- it still tried to log me in on the usual archiveofourown.org domain. So even if it works better, you can't use it for stories/features requiring login.

Yet another issue: the list of most recently updated stories I get back from the two domains don't match. archive.transformativeworks.org appears to be several stories out of date. That argues against it just being an alias, but how out of date?

However, this is worth trying out.

(Very) Test Version

Attached is a test version that adds archive.transformativeworks.org as if it were a new, unrelated site.

I do not expect it to work with logging in, and it does not use your existing AO3 settings.

This is purely so people can test and report if it's less error prone for them.

If it is, I will look into how using archive.transformativeworks.org might be integrated into the AO3 adapter.

Last edited by JimmXinu; 03-15-2025 at 10:55 AM. Reason: remove obsolete test version - no reports pro or con
JimmXinu is online now   Reply With Quote
Old 03-11-2025, 04:06 PM   #10449
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: 10,997
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
If it is, I will look into how using archive.transformativeworks.org might be integrated into the AO3 adapter.
I wonder if it could become an automatic fallback for AO3 failures. It's probably too much work, especially since AO3 is relatively stable except for recent.
ownedbycats is online now   Reply With Quote
Old 03-12-2025, 09:05 AM   #10450
ThreeApplesTall
Junior Member
ThreeApplesTall began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2025
Device: Kindle Oasis 3 (2019)
Hey, long-time lurker, first-time poster here!

Just a quick FYI – I'm on macOS and kept getting the "HTTP Error in FFF 'Page not found or expired in Browser Cache (see FFF setting browser_cache_age_limit)'(428)" error when trying to use the browser cache workaround, despite setting the limit to -1.

While trying to problem-solve, I saw some mentions of macOS possibly blocking calibre from opening browser tabs in background jobs. I'm not 100% sure if that's what the issue was, but I managed to get the openers_by_scheme tweak to work that's been mentioned here before, and that seems to have fixed it for me. I just had to pass it the full path to the firefox executable file.

Code:
openers_by_scheme = {'http*': '/Applications/Firefox.app/Contents/MacOS/firefox %u'}
Since then, I've had no more error messages with loading any fics, and while it's of course still considerably slower than it was before the whole cloudflare situation, it now opens all the browser tabs it needs without any issues and is a lot faster and more reliable than it was without using the cache.

Just in case this ends up helping someone else!
ThreeApplesTall is offline   Reply With Quote
Old 03-12-2025, 09:45 AM   #10451
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: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Thanks! I've linked to this from the issue over on github.
JimmXinu is online now   Reply With Quote
Old 03-14-2025, 12:09 AM   #10452
kayydotmurr
Junior Member
kayydotmurr began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2025
Device: Boox Palma, Go Color 7, various kindle models
Forgive me, I'm new to all of this, but with the ao3 errors going on, I'm wondering if there is a way to just update the URL fetched from inside the story into my URL column and not search the internet for updates right now? The excel spreadsheet I'm moving data over from has a URL column, and I'm thinking that will be easier to match up than titles where I may have typed it slightly differently (I downloaded the import list plugin but I've got errors there too haha so I'd like to compare what data moved over.)
kayydotmurr is offline   Reply With Quote
Old 03-14-2025, 08:07 AM   #10453
icecold
Enthusiast
icecold began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Mar 2020
Device: Android,
I'm trying to use ignore_chapter_url_list to download a fanfic without two specific chapters and I'm not sure what's going wrong. I've tried shortening to thread url to QQ/threads/24696/ but that didn't seem to work either

Code:
[https://XXX/threads/hell-won%%E2%%80%%99t-have-me-heaven-won%%E2%%80%%99t-take-me-so-i-guess-i%%E2%%80%%99ll-just-gaslight-everyone-highschool-dxd-oc.24696/]
ignore_chapter_url_list:
 https://XXX/posts/7611265/
 https://XXX/posts/7612003/
Moderator Notice
MobileRead doesn't like NSFW links. Obfuscating this little may also be pushing it.

Last edited by JimmXinu; 03-15-2025 at 02:25 PM. Reason: Remove NSFW links
icecold is offline   Reply With Quote
Old 03-14-2025, 09:48 AM   #10454
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: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by kayydotmurr View Post
Forgive me, I'm new to all of this, but with the ao3 errors going on, I'm wondering if there is a way to just update the URL fetched from inside the story into my URL column and not search the internet for updates right now? The excel spreadsheet I'm moving data over from has a URL column, and I'm thinking that will be easier to match up than titles where I may have typed it slightly differently (I downloaded the import list plugin but I've got errors there too haha so I'd like to compare what data moved over.)
Not really.

FFF has a feature "Get Story URLs from Selected Books" that can get the story URL from inside the epub. But it returns the url from identifiers field first if it's a valid story URL. And it just gives you a list of urls, it can't populate a column for you.

When you download the epubs using FFF in Calibre, FFF will populate the identifiers field with the story URL and the Publisher field with the site name. It seems like either of those would serve your purpose.
JimmXinu is online now   Reply With Quote
Old 03-14-2025, 09:58 AM   #10455
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: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by icecold View Post
I'm trying to use ignore_chapter_url_list to download a fanfic without two specific chapters and I'm not sure what's going wrong. I've tried shortening to thread url to QQ/threads/24696/ but that didn't seem to work either
The INI file format uses % as a control character. You need to either escape them all to %% or use a shortened story URL. I suspect you shortened too much, use [https://QQ/threads/24696/] Except with the forums... domain name instead of QQ. I did test that it still works.

Note that MobileRead doesn't like NSFW links. I removed them for you.

(No idea why the [mod] tag didn't work...)
JimmXinu is online now   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 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 03:51 PM.


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