manga-download / hakuneko

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

[Feature Request] BilibiliComics Image Resolution #5439

Closed omodia closed 1 year ago

omodia commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently Hakuneko downloads images in their Original Resolution/Raw+ (2400px) by default which is very good. But there is no reader that has smooth scrolling with this resolution in long strip mode in PC. Mobile supports it.

Describe the solution you'd like So can you add support for the remaining resolutions by creating a column under or above preferred image format in hakuneko's bilibilicomics settings namely,

Describe alternatives you've considered None.

Context (please complete the following information):

Additional context

omodia commented 1 year ago

The tabs are Raw, HD, SD. The image dimensions appear in the pop-up.

MikeZeDev commented 1 year ago

Gotta look into how they cook the url before requesting /Imagetoken. Need to separate image format (currently called quality in hn) and quality( sd, hd, raw). Incorrect combination of format and quality may prevent downloading :/

omodia commented 1 year ago

A suggestion for adding image resolutions.

MikeZeDev commented 1 year ago

Website JSON only mention 3 resolutions

omodia commented 1 year ago

In the above video, you can see 4 resolutions.

MikeZeDev commented 1 year ago

Its written RAW HD and SD

omodia commented 1 year ago

Use hakuneko to download. It downloads 2400w file (Raw+/Original). These three can be seen in video.

MikeZeDev commented 1 year ago

You are mistaken there is not raw+. Listen :

Website gives us file links with file dimensions. The value we got depends on the quality choosed ; RAW, HD, SD.

Website use a formula to reduce the size asked according to quality (2400 is then reduced to 2000) then request the file. Its the "RAW" they serve, 2000px.

Hakuneko use the file dimension provided directly without the formula, so it request 2400 and you got a 2400 px file. Its still the same damn "raw" setting

image

Bypassing their restriction on quality (like its done for now) may lead to problems. I'll stick to 3 qualities to ensure it will work and maybe put a checkbox to unrestrict raw quality for adventurous people.

omodia commented 1 year ago

Thanks for the explanation and your hard work. I now understand how images here work. Looking forward to it.

omodia commented 1 year ago
MikeZeDev commented 1 year ago

Website needed a fix, and that fix was related to quality, so i coded the feature at the same time. No need to close this, especially "as completed" for now . It will be closed in due time when feature is merged.

We are busy now, really busy, thats all.

omodia commented 1 year ago