![]() |
#3556 | |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2017
Device: Moon+ Reader Pro on Android
|
Could you please update the wuxiaworld.co adapter to ignore chapters that have:
style="color:Gray;" They are always going to be at the end of the list, e.g.: Code:
<dd> <a style="" href="2057006.html">1071 We’re Going to the Union Government? Aren't We Walking Right Into the Trap?</a></dd> <dd> <a style="" href="2069605.html">1072 The Neo Armstrong Cyclone Jet Armstrong Cannon</a></dd> <dd> <a style="color:Gray;" href="2071965.html">1073 Oh My God, That Smell!</a></dd> </dl> Quote:
TIA! |
|
![]() |
![]() |
![]() |
#3557 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3558 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2017
Device: Moon+ Reader Pro on Android
|
Thanks a lot for the quick fix.
Is there an easy way to remove the last x already downloaded chapters from the epubs so that the next update will try to download them again, or do I need use "overwrite always" (which will take it's sweet time given that most books that now have "In preparation" chapters [I got unlucky and was running my update right at the time when they were updating their website] are 1000+ chapters long)? |
![]() |
![]() |
![]() |
#3559 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
One possibility: if you still have the pre-update epubs in your trash can, you could drag them out to desktop or a folder, then drop them back into Calibre, which should overwrite the newer epub with the older one. |
|
![]() |
![]() |
![]() |
#3560 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2017
Device: Moon+ Reader Pro on Android
|
I had to manually edit the books, but I seem to have it all sorted out now.
Another question: When using "Update existing FanFiction Books" with a whole list of books, would it be possible to have each book scheduled as a separate job automatically? I mean, I can do that by hand already by selecting one book, trigger the function, while the job is still running select the next book, trigger the function, and so on. And, generally, in case that a job only is for a single book, maybe have the progress reported for the job based on number of chapters to download instead of being stuck and then jump to 100% when done? |
![]() |
![]() |
Advert | |
|
![]() |
#3561 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
But that's a feature, not a bug. Several supported sites will start blocking you if you generate too much traffic. This way, you can launch several without having to manage that yourself. Because trust, getting blocked for a few days is worse than slower downloading. I've looked into that a few times. Getting meaningful progress reporting from BG process to the foreground would require significant re-architecting. |
|
![]() |
![]() |
![]() |
#3562 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2017
Device: Moon+ Reader Pro on Android
|
The main issue I have with performance is that most of the books I update are in the 2-5 million words range already. Looking at the job log, there is a 30 second to 3 minute pause between the last entry of one book (after all new chapters have been downloaded) and the start of the next book.
Because of that, checking for updates for 42 books, 8 of which had a couple of new chapters, took over 20 minutes. |
![]() |
![]() |
![]() |
#3563 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
That doesn't strike me as particularly poor time performance, depending on the site. You are talking about stories with millions of words and thousands of chapters.
Do you have FFF configured to call word counts? Or smarten punctuation? It also wouldn't surprise me if a lot of that delay comes from post-processing. |
![]() |
![]() |
![]() |
#3564 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2017
Device: Moon+ Reader Pro on Android
|
I've all post processing options turned off (nothing checked, calculate word count set to No), other wise the update would take closer to an hour than 20 minutes.
I do realize that the stories I'm following are really large, but the low performance doesn't come from the site access. If I don't use the "background metadata" option, then fetching metadata for 45 huge books takes about 2 minutes, which isn't too bad. And if there are multiple new chapters, I can see from the job log that the chapters are downloading at a rate of about 1 chapter per second, so that's pretty good too. It's basically the loading and saving of the epub that takes significant time as far as I can tell (no surprise there, they are huge). Maybe schedule the individual books as individual jobs, but have a global list with domain name + lock (whatever that is in python) and acquire the lock while loading a page from that domain. This would serialize the online access (hopefully preventing a possible ban as you mentioned) while still allowing local processing to take place in parallel. Anyway, just an idea. FFF as is has saved me countless hours of manual work and I really appreciate the work you've put in. |
![]() |
![]() |
![]() |
#3565 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2019
Device: Kindle Paperwhite
|
Was anything changed with handling downloading from AO3? I like to download completed series as an anthology to calibre, which used to be particularly easy with AO3's series features and FFF's "downloading anthology into single EPUB" feature. I last did this a couple months ago with no problem. When I tried the same thing today, I got an error message that the tool din't find valid urls on that site.
Downloading a single story works fine, but since this is a 14 part series of short stories, I would have loved to have them in a single ebook. |
![]() |
![]() |
![]() |
#3566 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
multi-reply
Quote:
I will think about this some more. Quote:
Use 'Make Anthology Epub from Web Page' or 'Get Story URLs from Web Page' with the 'For Anthology Epub' button. If you are already doing that, please post the series URL that isn't working for you. |
||
![]() |
![]() |
![]() |
#3567 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2019
Device: Kindle Paperwhite
|
That's exactly the option I was using, and I tried both. I just had to translate the wording back from German. I was trying to download this series:
https://archiveofourown.org/series/915132 I know it's restricted to members, but firstly I am one, have been for years, and secondly, this isn't a problem with the individual download. |
![]() |
![]() |
![]() |
#3568 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
That series page is user/pass protected. You'll need to save your AO3 user/pass in personal.ini to use it:
Code:
[archiveofourown.org] username:XXXX password:XXXX |
![]() |
![]() |
![]() |
#3569 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2019
Device: Kindle Paperwhite
|
That helped, thanks for the very quick reply!
|
![]() |
![]() |
![]() |
#3570 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
FFF could gather all those updates and do 'Proceed' once, but it's kinda complicated. The sort of async that is hard to get right the first time and difficult to debug. Plus FFF's background job is already coded to run CPU#(from Calibre settings) threads simultaneously. I've checked and I can see different the threads running concurrently. All in all, I don't think BG job per download is worth pursuing any further. |
||
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
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 |