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 04-13-2025, 12:09 AM   #10576
ninjadudedxp
Junior Member
ninjadudedxp began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2023
Device: Meebook
I found some old copies of RR books, i took the ones with older chapters and added the new Chapters also changing the HTML names to line up with the chapter order, should those books be ok when a new chapter gets added? or will it update based on what was there last and overwrite the next file that was suppose to be in the sequence rather than checking what chapters are available .
ninjadudedxp is offline   Reply With Quote
Old 04-13-2025, 12:56 AM   #10577
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,325
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply

Quote:
Originally Posted by icecold View Post
How long should gathering metadata take for a single ao3 fic nowadays? FFF gets stuck on that step with ao3 fics now.

Edit: Never mind, I found that bit of the debug log for the one time FFF didn't get stuck and downloaded an ao3 fic properly and the answer was within an hour. Probably much quicker but I can't parse most of the debug log.
AO3 metadata collection is only a couple page requests. If it's taking that long, it's because of blocking, or the ongoing AO3 server issues.

Many of us have switched either using FFF's Browser Cache mode or the new use_archive_transformativeworks_org setting. These have been discussed before, search the thread for more.

Quote:
Originally Posted by ninjadudedxp View Post
I found some old copies of RR books, i took the ones with older chapters and added the new Chapters also changing the HTML names to line up with the chapter order, should those books be ok when a new chapter gets added? or will it update based on what was there last and overwrite the next file that was suppose to be in the sequence rather than checking what chapters are available .
If you got everything exactly correct, including FFF's embedded chapter URL, maybe? If any chapters have the embedded <meta> tag for chapter URL, FFF will expect *all* chapter files to have it and discard any that don't.

If you are just trying to save download time, you could go ahead and try it and the worst that happens is chapters that aren't correct get downloaded again.

OTOH, if you are trying to save 'stubbed'/removed chapters or something like that, I would suggest setting your manually edited version aside as separate book (clear the identifiers:url field) and use FFF to download a current copy in a different book.
JimmXinu is offline   Reply With Quote
Old 04-13-2025, 01:29 AM   #10578
iakrus
Member
iakrus began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2024
Device: kobo sage
hi!
i havent had access to my computer (and thus my calibre library) for a few months, and i just got it going again. i updated to version 8 and updated all my plugins. I tried to add/update some ao3 fanfics and discovered the issues.
Can someone give me a quick rundown on the problem/solutions?

As a sidenote, I was wondering if anyone knows what plugin allowed me to add metadata under my kobo readers fic titles (as pictured below). That has also broken with the updating of the plugins, presumably because V8 was kobo update heavy? I know this isnt the right thread for this, but I figured I'd try and solve two issues with one post- I'll repost elsewhere if no one here knows!

thanks!
Attached Thumbnails
Click image for larger version

Name:	PXL_20250413_034929042.jpg
Views:	90
Size:	404.6 KB
ID:	215010  
iakrus is offline   Reply With Quote
Old 04-13-2025, 02:48 AM   #10579
icecold
Enthusiast
icecold began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Mar 2020
Device: Android,
It getting stuck was with me using .archive subdomain. Which I started using because using the browser cache doesn't seem to work. Even with doing everything that's been discussed in thread getting a fic from ao3 to download properly just seems like luck.I didn't change my .ini between the one successful download and the attempts that got stuck.
icecold is offline   Reply With Quote
Old 04-13-2025, 11:06 AM   #10580
watani
Connoisseur
watani began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
Seems that Spacebattles has done a website update sometime over the past few hours because I immediately get a login prompt from FFF when I try to download any thread (which always fails even when the correct credentials are given with a 403 forbidden on the Spacebattles login page) and when I try to use the browser cache I get an error saying: 'NoneType' object has no attribute 'get_text'.

Edit: I do not have a problem with Sufficientvelocity threads, and I have no problem accessing Spacebattles through my browser.

Last edited by watani; 04-13-2025 at 11:24 AM.
watani is offline   Reply With Quote
Old 04-13-2025, 11:42 AM   #10581
ninjadudedxp
Junior Member
ninjadudedxp began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2023
Device: Meebook
Quote:
Originally Posted by JimmXinu View Post
Multi-reply


AO3 metadata collection is only a couple page requests. If it's taking that long, it's because of blocking, or the ongoing AO3 server issues.

Many of us have switched either using FFF's Browser Cache mode or the new use_archive_transformativeworks_org setting. These have been discussed before, search the thread for more.


If you got everything exactly correct, including FFF's embedded chapter URL, maybe? If any chapters have the embedded <meta> tag for chapter URL, FFF will expect *all* chapter files to have it and discard any that don't.

If you are just trying to save download time, you could go ahead and try it and the worst that happens is chapters that aren't correct get downloaded again.

OTOH, if you are trying to save 'stubbed'/removed chapters or something like that, I would suggest setting your manually edited version aside as separate book (clear the identifiers:url field) and use FFF to download a current copy in a different book.


Yes I have version prestubbed before I changed my set up. Wanted to merge them. I'll just keep them separate thanks for the input
ninjadudedxp is offline   Reply With Quote
Old 04-13-2025, 11:59 AM   #10582
ninjadudedxp
Junior Member
ninjadudedxp began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2023
Device: Meebook
Edit: Cant seem to edit my own post, but the way i pulled the chapters was with Calibre Epub edit and i exported Each HTML , i think they are Embeded with the FFF link in them as i see the body class showing it.
ninjadudedxp is offline   Reply With Quote
Old 04-13-2025, 12:52 PM   #10583
FlyingSpaceOxen
Junior Member
FlyingSpaceOxen began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2025
Device: Kobo Clara 2E
Quote:
Originally Posted by JimmXinu View Post
Arguably, we could declare those stories flawed.

But there's still more brute force we can try first!

Adapter now looks for a beginning HTML comment and an ending comment (and <hr>) and blindly assumes if both of those markers are found, whatever is between them is the chapter text. Which works in the relatively few number of cases I've tried.
Thanks! So far, so good. Downloaded SWI stories now largely appear as they were intended, awkward original image placement by the authors notwithstanding in some entries.

Somewhat unrelated: I've noticed the download_text_version option and read the original author's comment in the extractor code explaining their use of line breaks to preserve 1:1 the presentation of text stories on FictionMania. However this results in EPUBs with non-reflowable text. Using the default settings, FanFicFare produces EPUBs that ignore multiple new lines that are used, for example, to separate scenes or chapters in a single text file unless the author uses something like a Markdown-compatible horizontal rule.

I imagine this is a HTML limitation, correct? Up till now, I've been taking the plain text files provided by FictionMania, turning them into properly formatted Markdown files, then running them through Pandoc to generate EPUB files that faithfully preserve their original presentation.
FlyingSpaceOxen is offline   Reply With Quote
Old 04-13-2025, 02:05 PM   #10584
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,325
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply

Quote:
Originally Posted by watani View Post
Seems that Spacebattles has done a website update sometime over the past few hours ...
I'm not seeing this. Unless other people are seeing it happen, I suspect it's you/your IP/network being throttled or blocked.

Quote:
Originally Posted by FlyingSpaceOxen View Post
Somewhat unrelated: I've noticed the download_text_version option and read the original author's comment in the extractor code explaining their use of line breaks to preserve 1:1 the presentation of text stories on FictionMania. However this results in EPUBs with non-reflowable text.
Honestly, the download_text_version option is just for historical back-compat. The only particularly good use case I see for it would be someone outputting to text format. If you want flowable output, don't use download_text_version.
JimmXinu is offline   Reply With Quote
Old 04-13-2025, 02:10 PM   #10585
watani
Connoisseur
watani began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
If that's the case where I'm getting throttled/blocked, then why is it that when I test a different IP using a VPN I still am getting the same issue? And why is it that I have no issue accessing the site via a browser?

Regardless, I also am unable to use the browser cache to get past the issue. Running in debug mode has the log say it's unable to decode the first byte of the cached page.
watani is offline   Reply With Quote
Old 04-13-2025, 02:57 PM   #10586
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,325
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Cloudflare is a large business devoting many resources to detecting and blocking 'undesired' traffic and many large sites use it. I assume they have all the same tracking capabilities as the major ad platforms, and can detect the difference between an automated program like FFF and a real browser. Were you doing a lot of downloads/updates when the problem started?

I've just now downloaded another story update from SB without problems, so I continue to believe it's not a universal issue.

I don't believe SB/etc are sites I've put any effort into testing BrowserCache with. A quick look now shows page response from SB marked no-cache by the server, so I wouldn't expect it to work.
JimmXinu is offline   Reply With Quote
Old 04-13-2025, 03:02 PM   #10587
watani
Connoisseur
watani began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
No, I was not doing any large number of downloads/updates when the problem started. I had successfully downloaded a thread about 6 hours prior and went to bed, and when I woke up and tried to download threads I got the errors.

If I can't download via FFF, then what about using a different tool and then updating the FFF epub? I've had success using WebToEpub, but it's not clear that there's a way to easily merge in the new chapters to match the FFF file-naming structure automatically.
watani is offline   Reply With Quote
Old 04-13-2025, 03:06 PM   #10588
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,325
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Personally, I'd just leave it alone for a few days.

Many times, when an individual is throttled/blocked, it's cleared again automatically after a while.

No, FFF doesn't have any way to automatically merge in content from other downloaders.
JimmXinu is offline   Reply With Quote
Old 04-13-2025, 04:55 PM   #10589
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,631
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
No, FFF doesn't have any way to automatically merge in content from other downloaders.
You can rename the html files with the OEBPS/file####.xhtml structure and import with ebook-edit. Formatting might look wrong though. You can later delete them and run update always to get them the right way.
ownedbycats is offline   Reply With Quote
Old 04-14-2025, 03:28 AM   #10590
ChaoticAdventure
Member
ChaoticAdventure began at the beginning.
 
ChaoticAdventure's Avatar
 
Posts: 16
Karma: 10
Join Date: Jan 2024
Device: Kindle Paperwhite, Calibre
Hi, I have a question. I'm not sure if this is at all possible, but I thought I'd ask just in case.

I use include_in_characters to add ships to characters, so that the characters in ships are added to the character list. In Calibre itself, this never results in duplicates because the duplicate tags are merged. But in Fanficfare's created title page, where I've included characters in my titlepage_entries, it includes the duplicates from the ships column if they happen to overlap.

For example, if the original fic includes both the character tag for "Harry Potter" and also the ship "Harry Potter/Hermione Granger", the title page will have the character tags "Harry Potter,Harry Potter, Hermione Granger". I'd like to remove the duplicate.

If I set the column in the titlepage_entries to my calibre column (calibre_cust_mycharacters) instead of the 'characters' column, this fixes the issue, but for anthologies it doesn't include anything at all. Is there any way to set this option differently when I'm uploading a series versus a single work? Or to remove the duplicate tags?

To be clear, the settings look like this:

[defaults]
titlepage_entries: status,<br />,ships,<br />,characters,<br />,calibre_cust_mytags,<br />,description

[archiveofourown.org]
include_in_characters:,characters,ships

If this is not possible it's fine, I've lived with the issue so far, and I can just turn it off and back on when I upload series. I just thought if someone knew how to do this, it would be stupid to keep struggling with it.
ChaoticAdventure is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 405 02-09-2026 08:54 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 529 01-28-2026 11:32 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 01:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 11:28 PM.


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