![]() |
#9256 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Code:
File "C:\Users\Robin.RICE-LAW\AppData\Roaming\calibre\plugins\FanFicFare.zip \fanficfare\geturls.py", line 44, in get_urls_from_page |
|
![]() |
![]() |
![]() |
#9257 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 125
Karma: 295674
Join Date: Jul 2021
Device: iPhone
|
Oh I see! Never thought to download from an entire tag before. I’ve redownloaded over 200 stories from my library several times now but surprisingly I haven’t gotten banned yet. It’s not something I do everyday though.
|
![]() |
![]() |
Advert | |
|
![]() |
#9258 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2024
Device: none
|
Quote:
But if it should work like this I'll keep looking. |
|
![]() |
![]() |
![]() |
#9259 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Personally, I prefer using 'Edit book' to the viewer's inspector. Calibre can significantly rewrite the HTML as part of the pipe line that converts all the different formats before handing it to the viewer renderer.
Ideally, you'd only put replace_tags_with_spans in for the sites (or stories) you need it for. But in practice, <pre> tags aren't actually used much anymore. I'd actually add <pre>, rather than replacing the existing settings, like so: Code:
## the comma(,) is necessary add_to_replace_tags_with_spans:,pre Without knowing even the site you're trying to use, or seeing your personal.ini (there's a button to get a version with user/pass settings removed), I can't help any further. It's working as designed for me. |
![]() |
![]() |
![]() |
#9260 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jul 2021
Device: Android Tablet
|
"Story does not exist" error
So I'm finding that one of the sites that used to work has suddenly stopped working, but still works with some. I've tried looking at the plugin and the site html to see if there's a difference between the stories that do work and those that don't, but with my limited skill I couldn't find anything.
The site is UtopiaStories . com I saw once you said you didn't want public links to adult sites so I can DM specific examples if you want them. The pattern I've found is that if the story is linked on the homepage it works, but if it's found through search I get the "story does not exist" error, even for stories I have downloaded in the past with the exact same url. So If you want DM examples I can but I didn't want to send them unless you need more info than that. The ~50 or so with links on the front page work and all others don't even though the urls and formatting seem not fundamentally different. |
![]() |
![]() |
Advert | |
|
![]() |
#9261 | |
Connoisseur
![]() Posts: 70
Karma: 76
Join Date: Apr 2019
Device: none
|
Quote:
- Andrew |
|
![]() |
![]() |
![]() |
#9262 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jul 2021
Device: Android Tablet
|
Huh, interesting idea about the author page. Is there a way to skip the checking for an author page?
followed from a working (front page) story to the author page and not everything from the author page is being picked up. Might still be a broken link, I don't know. |
![]() |
![]() |
![]() |
#9263 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 125
Karma: 295674
Join Date: Jul 2021
Device: iPhone
|
Under what circumstances does ${origchapter} actually retain the original value instead of having the same value as ${chapter} since the latter is affected by chapter_title_x_pattern?
|
![]() |
![]() |
![]() |
#9264 | |||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
Most of the time, I don't like trying to code around site errors. In practice, I clicked to a dozen authors and didn't see a single story that wasn't category 'Bondage' on that site--the site's dedicated subject. Plus the home page says it's a static copy of the site since Feb 22. So I would not be hugely opposed to removing the author page fetch if you (meaning anyone who reads the site) will testify that they haven't seen other category values. Quote:
From defaults.ini: Spoiler:
|
|||
![]() |
![]() |
![]() |
#9265 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jul 2021
Device: Android Tablet
|
"So I would not be hugely opposed to removing the author page fetch if you (meaning anyone who reads the site) will testify that they haven't seen other category values."
Yes that would be fine. I didn't realize it was trying to fetch categories since I don't think the site has those well defined. Does it being a static copy mean other information might be unreachable? Last edited by jessbbaby34; 02-04-2024 at 05:26 PM. |
![]() |
![]() |
![]() |
#9266 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2024-02-04 - adapter_wwwutopiastoriescom: Updates for site changes. |
![]() |
![]() |
![]() |
#9267 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jul 2021
Device: Android Tablet
|
|
![]() |
![]() |
![]() |
#9268 | |
Connoisseur
![]() Posts: 70
Karma: 76
Join Date: Apr 2019
Device: none
|
Quote:
The problem is that it adds the word "None" at the end of each page. Here's an example: Spoiler:
It also inserts one at the end of the story, as that is also the end of a page. Spoiler:
I pulled up the page source for several stories and none of them have the word "None" where it could be grabbed. Also, there is no HTML formatting like it does for actual story text, so it seems to be some sort of programming check getting written to the output by mistake. I took a look at the adapter code and debug log, but I'm just learning Python and wasn't able to figure anything out. - Andrew |
|
![]() |
![]() |
![]() |
#9269 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Please post some SFW story URLs that exhibit the problem or PM NSFW ones.
|
![]() |
![]() |
![]() |
#9270 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 125
Karma: 295674
Join Date: Jul 2021
Device: iPhone
|
Quote:
I assume there's no way to only affect chapters in an epub's TOC metadata using chapter_title_x_patterns while having a different pattern for the chapter pages (via chapter_start) and/or the TOC page (if you have include_tocpage set to true). |
|
![]() |
![]() |
![]() |
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 |