View Single Post
Old 08-03-2021, 09:56 PM   #6297
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by JimmXinu View Post
kamille3 - I removed your link. You can PM me NSFW links. I use partial links below.

The author has (probably) made a mistake naming/organizing that particular story's chapters. Notice in the author list there is the one-chapter separate story with URL:
  • /s/julie-my-fiancee-ch-01

Then there is the 3 chapter story with URLs:
  • /s/julie-my-fiancee
  • /s/julie-my-fiancee-ch-02
  • /s/julie-my-fiancee-ch-03
This probably happened because of Fiancée vs Fiancee.

When you enter story URL /s/julie-my-fiancee, it finds /s/julie-my-fiancee-ch-01 first and creates that as a one chapter story.

When you enter /s/julie-my-fiancee-ch-02, it does initially find the correct story, but then the story URL is normalized to be the first chapter URL(/s/julie-my-fiancee) and when passed to the plugin background job, you're right back where you started.

I hesitate to change FFF's processing for this issue for fear of breaking something else. Given that it appears to be caused by author error, I doubt it's all that common.

And the most recent of these chapters is from 2014, so it's not an on-going problem like it would be for a story with updates everyday.

In the CLI, you can enter /s/julie-my-fiancee-ch-02 (with the full URL, of course) and get the three chapter version due to it being a one-pass process without a separate BG job. The first post in this thread has info on how to run FFF from Calibre as CLI without needing to install Python or anything.
I did have a quick look at it. The problem is that there is a regex doing the search for the URL in the author page. That doesn't do an exact match and takes the first match. Finding if the story has other chapters is done by looking at one of the parent elements and seeing if it has a particular class. If it does, it gets all the links under that parent. In this case, the current regex finds the solo story first and downloads that.

The fix would be to add a "$" to the end of the regex so that it does an exact match. But, it might break something. There are enough other problems with how the site handles multi-chapter stories, that it probably isn't worth it. But, this might explain one of the problems I have seen. I'll have a play and see.
davidfor is offline   Reply With Quote