p0ody / ff2ebook

WIP.
http://www.ff2ebook.com
18 stars 2 forks source link

story doesnt always udpate #48

Closed kolbdog3333 closed 2 years ago

kolbdog3333 commented 2 years ago

Hi when I'm using force update to downlaod a story it does not download all chapters for example, I'm trying to get the latest chapter for this fanfic https://www.fanfiction.net/s/13964839/42/Jennifer-Craw-and-the-Gardens-of-Whitebridge-26 But it only has 40 chapters and it was updated an hour ago and it still says 40 chapters while the grabber says 42/42

StarWolf3000 commented 2 years ago

I have force-updated the story and it should have 42 chapters now. Depending on your ebook reader device/app, you might have to delete the file and reimport it (I'm using Aldiko on Android for reading).

kolbdog3333 commented 2 years ago

Nope still 40 chapters the file size is still the same.

kolbdog3333 commented 2 years ago

I just opened the epub its still 40 chapters.

kolbdog3333 commented 2 years ago

Just did same thing again with this story https://www.fanfiction.net/s/13990103/16/Baka-to-Power-Pony-Omniversal it says 16/16 but when opening the epub their are only 15 chapters

kolbdog3333 commented 2 years ago

Just did another story been 1 hour since last update did same thing again not sure what problem is. https://www.fanfiction.net/s/13720575/92/A-Cadmean-Victory-Remastered

p0ody commented 2 years ago

Are you really trying the epubs or mobi ? I remember i had this trouble with mobi that didnt get updated and i didn't get around to fixing that yet. When i tried with epubs, i did get it with the right numbers of chapters.

edit: if that was the case, try again. I Just deleted all the mobi files so they will get regenerated next time they are requested.

kolbdog3333 commented 2 years ago

Trying with epub i don't use mobi.

p0ody commented 2 years ago

So if you download https://ff2ebook.com/download.php?source=ffnet&id=13964839&filetype=epub, you get only 40 chapters ?

Personnaly i'm getting 42.

image

image

StarWolf3000 commented 2 years ago

This is what I get: Screenshot_20211214-184543

kolbdog3333 commented 2 years ago

correct and for a while it wasn't collecting current chapters not sure why

kolbdog3333 commented 2 years ago

When downloading https://www.fanfiction.net/s/13720575/92/A-Cadmean-Victory-Remastered gets all chapters in mobi format but ebub only 91.

p0ody commented 2 years ago

this is weird. I'm getting 92.

Are you certain you are not reopening a file that you downloaded previously ? Or perhaps a cached version in your reader ?

image

kolbdog3333 commented 2 years ago

And tried that jennifer craw one again still 40 chapters as epub

kolbdog3333 commented 2 years ago

im positive because am using force update to download the fanfic

kolbdog3333 commented 2 years ago

had to clear my cache and it seemed to work this time,

p0ody commented 2 years ago

I mean, are you really opening the last file saved on your device ? Make sure to open the one with the latest number at the end if multiple files with the same name. image

p0ody commented 2 years ago

had to clear my cache and it seemed to work this time,

Ok cool, perfect.

kolbdog3333 commented 2 years ago

One last question how long do you need to wait once the story updates on fanfiction.net before using ff2ebook

p0ody commented 2 years ago

It should be able to get the latest version with "force update" anytime once its up on fanfiction.

Without force update, it checks fanfiction.net only once a day.

kolbdog3333 commented 2 years ago

Like if you get email updates

kolbdog3333 commented 2 years ago

does force udpate work for the email update or just the fanfic website.

p0ody commented 2 years ago

You mean when you put your email there ?

image

It also sends the last version

kolbdog3333 commented 2 years ago

no meant when the latest chapter gets sent to email before website updates.

kolbdog3333 commented 2 years ago

example

kolbdog3333 commented 2 years ago

sorry couldnt attatch pic

p0ody commented 2 years ago

well, the page on fanfiction.net must have the new chapters, if its only sent by email, in that case no, it wont be updated on ff2ebook.com

kolbdog3333 commented 2 years ago

The fanfic updates but your signed up for recieving email updates on fanfiction.net.

kolbdog3333 commented 2 years ago

ok so have to the full hour ok thanks for the clarificaion.

kolbdog3333 commented 2 years ago

Tring to download this one fanfic but its not letting me its a huge file size 24mb when exporting on fichub but want to download it using ff2ebook here is the fanfic https://www.fanfiction.net/s/12715870/1601/The-Loud-House-Revamped

StarWolf3000 commented 2 years ago

Tha one is whopping 1,600 chapters huge, I think that's a bit too much for the site to handle. And you will get a similar filesize here, if the fichub one is already 24 MB.

kolbdog3333 commented 2 years ago

thanks anyways thought id ask

p0ody commented 2 years ago

damn, 1601 chapters. It may take a while on ff2ebook. I'll do something for you, i'll run it local on my own PC, so it should be faster (the server that ff2ebook is running of is slow AF). I'll get back to you

kolbdog3333 commented 2 years ago

thanks appreciate it. And the author updates every night around 10 or 11 pm and its the longest fanfic ever and still growing.

StarWolf3000 commented 2 years ago

I wonder if it makes sense to automatically split into a new file after a certain amount of chapters, maybe with a maximum of 200 per file. For a fic this huge, it would take 9 parts to cover the 1,601 chapters. This would reduce the memory consumption during the generation of one file compared to when generated in its whole.

kolbdog3333 commented 2 years ago

I think after a certain file size like 10mb then it splits not chapters since Wrecking Limits has 1,035 chapters and its only at 4mb

StarWolf3000 commented 2 years ago

You don't know the file size before splitting, only after. Also the final file size after compression depends on word (and therefore character) count, which is 13 million in the 1,601 chapters fic. If the other one not only has fewer chapters but probably lesser words on average per chapter, of course its gonna end up smaller.

Which is why I would split on chapter count, not file size. That would also make generation faster, because in the case of split fic files, only the last one would need to be updated again, so only a restricted amount of chapters need to be transfered and converted.

kolbdog3333 commented 2 years ago

Oh ok thanks for explaining that.

p0ody commented 2 years ago

I tried a couple times and for some reason chapter #1000 fail everytime. Im sorry but i currently dont have the time to look into it.

image