RedSquirrel87 / manga-downloader

A very simple application written in JAVA to download any chapters of any manga from the supported websites
37 stars 1 forks source link

Incorrect extension - Mangaseeonline.us #238

Closed RedSquirrel87 closed 4 years ago

RedSquirrel87 commented 4 years ago

Original report by Anonymous.


After downloading chapter 96 of https://mangaseeonline.us/manga/Jujutsu-Kaisen, my computer wasn't opening the images for unknown reasons; it turns out it's because they're saved as PNG but they're actually JPEG. Wasn't the software supposed to automatically detect the file extensions? I remember it was a new functionality of several versions ago. Anyway, I just wanted to report this issue!

RedSquirrel87 commented 4 years ago

Original comment by Red Squirrel (Bitbucket: Red_Squirrel, GitHub: RedSquirrel87).


I checked but this does not seem to be an issue of the program, it’s their server that is bad configured because if you try to download the image from their website using any web browser (right click on the image and choose “save image with name…”) you get the “PNG” extension as suggestion. This means that the MIME returned in the content-type header for that file is that of a PNG image (and that is what the program uses to give the extension for the downloaded file, just as any normal web browser does):

Even the filename on the web has the PNG extension, for example the first page is https://v93.mangabeast.com/manga/Jujutsu-Kaisen/0096-001.png the second https://v93.mangabeast.com/manga/Jujutsu-Kaisen/0096-002.png and so on, so this is an error of whoever uploaded the images on the server