Quote:
Originally Posted by bugstomper
So right now the implementation of getting new chapters is to re-read the first page of the story to get the latest list of chapter links and then download chapters starting from the next one that has not yet been downloaded?
|
As part of gathering story metadata in doExtractChapterUrlsAndMetadata(), the list of chapters (URLs and names) is retrieved and saved. Whether that's collected from the first chapter or its own page is site dependent.
FFF does a simple comparison of number of chapters in epub vs gathered when determining
whether to update using "Update EPUB if new chapters".
While actually
doing the download & update, FFF looks at the the collected chapter URLs and compares each to the already-downloaded chapters inside the saved epub (each chapter saved it's URL in a hidden tag). That way any chapter, regardless of where in the list, is only downloaded if it's not already present.
Quote:
Originally Posted by bugstomper
What about when there is no such list, including the original links in the metadata of the ebook, or just the link to the last chapter that was downloaded, so nothing has to be downloaded again?
|
As I said, I don't think we support any sites that don't have a chapter list. Certainly none of the adapters I wrote.
If all the chapters are already present (IE, 'Update EPUB Always'), the existing downloaded chapters are all reused.
I suggest going to PM or email if you want continue this discussion--it's getting a bit esoteric.