Closed jiskim closed 3 years ago
I added also a fix to the box novel scrapper.
it was having some issues getting their new ajax endpoint.
they added an ajax endpoint for the list of chapters and it was crashing the imports, due to not having the latest chapter in the normal html anymore. Due to this i had to add a new function to push instead of get to the endpoint. if you GET then you will only receive the normal webpage; but if you POST the url ajax endpoint then you get the proper list of chapters.
also their server is having certificates issues. i had to add
rejectUnauthorized: false
so that it stop just crashing at the get of anything
Fixed the ReadLightnovel changed its domain and all sources url were returning has invalid link.
Thanks for the great pull request, I'll be updating the app soon!
i changed the writer of the epub, so that it would check if the author or genre is missing from the novel metadata. if so i default some value.
the epub writer seems to require that we supply those 2 fields, otherwise it will fail silently and keep stuck at 99% when downloading.