manga-download / hakuneko

Manga & Anime Downloader for Linux, Windows & MacOS
https://hakuneko.download
The Unlicense
4.66k stars 466 forks source link

[Bug] Can't Enjoy the Downloaded File #4726

Closed MonsieugarDaddy closed 1 year ago

MonsieugarDaddy commented 2 years ago

Did you read the troubleshooting guide Yes

Describe the bug I cannot seem to download the picture.. well, I can download it, but the file is just broken. When I downloaded a certain chapter (i.e.: Black Clover 331), the output only showed files with .bin extension instead of .jpg, .jpeg, or .png; the issue occurs on MangaTown & MangaHere, I dunno if the same case exists elsewhere.

To Reproduce Steps to reproduce the behavior:

  1. Select a website (MangaTown or MangaHere)
  2. Select any manga & any chapter to download
  3. Open your folder of downloaded chapter
  4. Witness the majestic bugs 👀

Expected behavior an outcome of solid pictures just like what the usual HakuNeko offers ):

Screenshots HaquNeqo

Context (please complete the following information):

Additional context I'm from Indonesia & I can access the site just fine, even without a VPN. I tried downloading 1 random chapter from Kissmanga & it works just fine.

Sheepux commented 2 years ago

bin files are usually related to bad internet connexion and/or website not sending adequate headers on image. Can you try to rename the images to jpeg and see if they work fine or are corrupted ?

MonsieugarDaddy commented 2 years ago

I doubt that a bad internet connection is an issue here since I was able to download 1 random chapter from another Kissmanga. Renaming the file doesn't really help either.. when the .bin file itself is only worth 20KB at its largest (while the normal manga images are worth around 120-500KB)

thanks for the reply though!

MikeZeDev commented 1 year ago

Mangahere works.

Mangatown is still downloading bin. The problem is : they use Mangahere CDN. The bin file downloaded are actually html files.

In order to download files from Mangahere CDN in this connector we shall send mangahere.com as referer. Then, it works !