MangaFox-Download-Script icon indicating copy to clipboard operation
MangaFox-Download-Script copied to clipboard

Comic book archives occasionally contain invalid images beause of HTTP 503 errors

Open techwizrd opened this issue 12 years ago • 4 comments

Occasionally, Mangafox will return an HTTP 503 Service Unavailable error when the MangaFox-Download-Script is downloading chapter images. The MangaFox-Download-Script does not check for or report HTTP errors (including 404 errors), so comic book archives can accidentally contain the HTML file stating the HTTP error saved with an image extension.

techwizrd avatar May 12 '13 03:05 techwizrd

Reproduced with "The World God Only Knows" chapter 1. It got a 503 error on more than one image.

techwizrd avatar May 12 '13 03:05 techwizrd

I've the same issue. How can I fix it?

Thatchantique avatar Jun 02 '17 09:06 Thatchantique

@Thatchantique What I can do is add some code to add only files that have an HTTP 200 to the comic book archive.

techwizrd avatar Jul 24 '17 15:07 techwizrd

Maybe like this: https://github.com/techwizrd/MangaFox-Download-Script/pull/27

vlenhart avatar Jul 27 '17 16:07 vlenhart