Feuerhamster / wattpad-downloader

A website to convert and download Wattpad stories into e-book reader formats.
GNU Affero General Public License v3.0
86 stars 31 forks source link

Incomplete stories #21

Open Dr-Shadow opened 2 years ago

Dr-Shadow commented 2 years ago

Hello,

I don't know how to debug some incomplete stories, is there something to do ?

I use the docker image built with the provided Dockerfile and a nginx-proxy as reverse proxy.

On a local environment (e.g running locally npm start), I don't get these issues.

I'm getting this in logs for this story :

[2021-12-25T19:35:58.445Z] Converted: "Master ᴹᶦⁿˢᵘⁿᵍ" (172196826) to html (55/67 parts)

The processing of the request takes a lot of time as well. (more than 60 seconds)

Same for this story

[2021-12-25T19:48:37.349Z] Converted: "Lie Huo Jiao Chou/烈火浇愁 by priest (English Translation)" (178758346) to html (55/64 parts)

Am I missing some configuration on my reverse proxy ?

Thank you in advance

EDIT : I believe this is an issue related to the docker network or something because I get the same thing without the reverse proxy

EDIT2 : I tried with/without redis -> same problem I tried with port mapping / with a reverse proxy -> same problem I tried updating the base image to node:17-alpine since it's working on local -> same problem I would like to diagnose further but I don't know what I should be looking for right now

Feuerhamster commented 2 years ago

This might be a problem with wattpad.com Maybe some requests get blocked by them

Dr-Shadow commented 2 years ago

This works perfectly when running locally without Docker as I said so that's weird

surnoliver commented 2 years ago

Isso funciona perfeitamente quando funciona localmente sem Docker como eu disse, então isso é estranho

você poderia me ajudar a instalar?