p0ody / ff2ebook

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

Server Down again? #61

Open AkiraReader opened 2 years ago

AkiraReader commented 2 years ago

When I tried, yesterday, to enter https://ff2ebook.tk/ to download from wattpad, I got this message:

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

It still gives that message today; however, it seems https://ff2ebook.com is okay.

StarWolf3000 commented 2 years ago

The main site is located at https://ff2ebook.com. The other domain was temporarily used to circumvent a possible IP block by Cloudflare.

AkiraReader commented 2 years ago

https://ff2ebook.com seems to be used for fanfiction because I could only download from wattpad from https://ff2ebook.tk/.

I just tried to download wattpad from https://ff2ebook.com/ and it only replies with Failed to get Fanfic infos.

p0ody commented 2 years ago

I am currently working on implementing wattpad support on ff2ebook.com. @bastien8060 had a working version on ff2ebook.tk, but from what i've seen when i started looking into adding wattpad is that they discontinued their API that bastien was using on his version.

p0ody commented 2 years ago

@AkiraReader I just added wattpad support to live site (ff2ebook.com) go check it out

AkiraReader commented 2 years ago

I just cheked it and while it collects and downloads everything, when I open the epub file just shows the title page and none of the chapters.

p0ody commented 2 years ago

I think i broke something with a previous change, try again now

p0ody commented 2 years ago

Oh well i just noticed that fic with weird character in the title doesn't seems to work, i'll look into it later.

Example: https://www.wattpad.com/1117104554-%F0%9D%90%92%F0%9D%90%A1%F0%9D%90%9A%F0%9D%90%AD%F0%9D%90%AD%F0%9D%90%9E%F0%9D%90%AB%F0%9D%90%9E%F0%9D%90%9D-%F0%9D%90%8B%F0%9D%90%A8%F0%9D%90%A4%F0%9D%90%A2-%F0%9D%90%B1-%F0%9D%90%91%F0%9D%90%9E%F0%9D%90%9A%F0%9D%90%9D%F0%9D%90%9E%F0%9D%90%AB-chapter-1-liberation

AkiraReader commented 2 years ago

I tried again and while it seems to download the whole fic, it is only a quarter or so of each chapter.

p0ody commented 2 years ago

Oh you're right, i did not realize that wattpad load the text as we scroll down, so when i just fetch the text as soon as possible, only the start of the chapter is loaded.

I'll look into what i can do.

Thanks

p0ody commented 2 years ago

@AkiraReader I got it working i think, at first i thought that there was no formatting but it might actually just be the story that i was testijng with.

Could you give it a couple test and give your feedback.

Thanks

AkiraReader commented 2 years ago

It seem to work well with the stories I tried it. Thanks for your work and help.