![]() |
#7441 |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2021
Device: kobo libra 2
|
Hi
I'm trying to create an adapter for novelfullplus.com which is very similar to readnovelfull.com, but since the site does not conform with HTML for novel links, example:https://novelfullplus.com/novel/aban...an-kings-mate/ , i keep getting that novel link is not a valid story URL. Can you help me Jim? |
![]() |
![]() |
![]() |
#7442 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
If you mean that you are trying to copy adapter_novelfull.py and you're having trouble with it recognizing the story URLs, look at the getSiteURLPattern() function. I assume you already figured out you need to change getSiteDomain(). |
|
![]() |
![]() |
![]() |
#7443 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2021
Device: kobo libra 2
|
Quote:
https://novelfullplus.com/novel/aban...can-kings-mate |
|
![]() |
![]() |
![]() |
#7444 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
It should be very straight forward if you understand regular expressions.
I don't know that site, but if you assume that you don't need the optional index.php and the trailing .htm(l) novelfull.com uses: Code:
def getSiteURLPattern(self): return r"https?://%s/novel/(?P<story_id>[^/]+)(/.*)?" % re.escape(self.getSiteDomain()) |
![]() |
![]() |
![]() |
#7445 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Oct 2021
Device: kobo libra 2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#7446 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#7447 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
PSA: Flaresolverr doesn't seem to be working at the moment, see here. If you have issues, use browser cache for now.
EDIT: Just curious: would a 'retry last download' button in the FFF dropdown be viable? There are a few use cases I can see for it; switching from Flaresolverr to cache, or changing a replace_metadata. Last edited by ownedbycats; 08-27-2022 at 07:39 PM. |
![]() |
![]() |
![]() |
#7448 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Plus, my first thought is users hammering it when they got throttled/blocked and only making it worse. But I'll think about it more if there are more users interested. |
|
![]() |
![]() |
![]() |
#7449 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2017
Device: Moon+ Reader Pro on Android
|
Any chance to get support for
https://hostednovel.com/ added? As far as I can tell, it's just plain html pages and doesn't require any java script for basic function (I can access chapter lists and chapter contents even with everything blocked). |
![]() |
![]() |
![]() |
#7450 | |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2017
Device: Moon+ Reader Pro on Android
|
Quote:
|
|
![]() |
![]() |
![]() |
#7451 |
Member
![]() Posts: 15
Karma: 10
Join Date: Aug 2022
Device: none
|
Hello, I have a few questions.
1. Downloading from AO3 or other places, can I have each of the tags keep their link/HTML in the titlepage? When downloading from AO3 directly, their epub has links on each of the tags (as well as the series, and any collections), but FFF doesn't (except for series apparently). If that's not possible, is there at least a way to make the titlepage underline each of the tags/entries? They're separated by comma, but it would be a lot more readable if each individual entry was underlined (so the lack of underlining between them breaks them up more). 2. How can I make a single metadata entry that's composed of others, plus some hardcoded text? I want to have the publish, update, wordcount and chapter count all on one line in the titlepage, and the only way I can think of to do this make an extra field and import the data inside, something like: Code:
customfieldname: Published: {datePublished} | Updated {dateUpdated} | Chapters: {chapterslashtotal} 3. If accomplishing what I want in question 2, can I conditionally modify it? For example, I'd want to exclude/remove the "Updated" section if it's the same as the publish date. 4. How can I replicate `Status:Completed` for a custom column, inside personal.ini? I want to have a "Completed" custom column that tracks if a work is complete, but it doesn't seem to behave with sites other than AO3 (I assume because they don't have a `status` entry at all), so I want only AO3 to update that column (for the other sites I'll just enter it manually, but I don't want the value to be overwritten if I update from metadata again). 5. Can I somehow update/rebuild the epub titlepage, using the Saved Metadata instead of redownloading the whole work? So that I can do things like, for example, mess with the titlepage_entries (adding or removing or re-ordering them), or normalize genre tags, without hitting the site servers again when I just want to change the titlepage, and in case it's deleted. In case it helps at all, here is my personal.ini: Spoiler:
|
![]() |
![]() |
![]() |
#7452 |
Enthusiast
![]() Posts: 42
Karma: 10
Join Date: Aug 2015
Device: pc
|
Is there an age issue with FFN stories now? I switched to using browser cache when their latest update broke FFDL (and therefore FFF couldn't use its cache) but I have a story that updated today (like an hour ago) and so I went through it in my browser and told FFF to update it in Calibre, and it's acting like there is no update to add. It says it's a good URL (which it wouldn't if I'd failed to go through it in the browser first) but it only updates the Checked Date and nothing else. Do I need to wait a longer time after FFN notifies me of the update before I try this?
https://www.fanfiction.net/s/1239721...in-Reformation ETA: It looks like chapter 1 is still showing the old metadata, while the later chapters have the updated metadata, including the Updated Date and chapter count. I'm guessing this is an FFN glitch and nobody knows when it'll fix. Yep, chapter 1 finally updated properly on FFN, and the update in Calibre went fine. I guess I just have to leave it for at least a couple hours to make sure FFN gets its metadata straight before updating. Last edited by Chrystalline; 08-29-2022 at 05:30 PM. |
![]() |
![]() |
![]() |
#7453 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
It's pretty common for ffnet to not update the metadata on the first chapter immediately. FFF has an option (check_next_chapter) to look for another chapter past the one reported by chapter one.
It's off by default to avoid extra network hits, but if you're using browser cache only, it doesn't matter. This is what I use these days: Code:
[www.fanfiction.net] use_browser_cache:true use_browser_cache_only:true never_make_cover:true check_next_chapter:true |
![]() |
![]() |
![]() |
#7454 | ||||||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Given the absolute mess that AO3 tagging is, I'm not very inclined to pursue this. Especially since it would only save one click--click the story link, then you have all the tags links right there. Quote:
However, to apply an underline to each entry in a list, but not the whole list, I think you'd have to wrap tags around each entry using replace_metadata. There's a wiki page for that, too. I'd copy the list, change that copy, then include it in the titlepage rather than change the original list if you don't also want that HTML showing up in Calibre tags, etc. More about add_to_extra_valid_entries below. Quote:
Quote:
Quote:
FFF has no way of knowing when you have edited a Calibre custom column vs FFF previously setting it. If you don't want FFF to ever overwrite your changes, the only way with custom_columns_settings is to use the 'n' mode option so it is only used with new books. See the comments in defaults.ini for custom_columns_settings. Quote:
For repetitive testing, I use FFF's CLI with the --save-cache option to cache the pages once and use them over and over. However, officially, that option is undocumented & unsupported. |
||||||
![]() |
![]() |
![]() |
#7455 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
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 |