New Test Version Posted
2022-02-22
- adapter_fastnovelnet: 'Normalize' chapter URLs to current storyId URL--site is changing it frequently
Quote:
Originally Posted by Ser4nb2LUY6e
fastnovel.net has started changing the URLs every few days for some reason.
...
Any way for FFF to recognize that a redirect on the main page should also be applied to all existing chapters instead of downloading them all from scratch again?
|
Yet Another Site that only works through FlareSolverr. Joy.
Looking at a few stories from the Latest Releases list, I do see some that have a number in the URL, after the title part, before the '-idnum'.
You can trim down the URLs (and chapter URLs) to have no title at all (but keep the '-') and they work. IE,
https://fastnovel.net/-29/ and
https://fastnovel.net/-29/chapter-25206.html
But that's ugly--and obvious to anyone watching the server logs.
adapter_fastnovelnet keeps the title part of the URL in storyId too, 'cultivation-chat-group6-29', not just 29.
FFF already has a hook to 'normalize' chapter URLs, previously developed for base_xenforo. Using it with adapter_fastnovelnet to 'normalize' the chapter URLs to have the current version of storyId is possible.
It still gives you the 'Change Story URL?' dialog when the story URL changes. Which, to be honest, is the truth.