Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NHentai .webp Image Format Unsupported #3322

Open
Eliolocin opened this issue Nov 10, 2024 · 1 comment
Open

NHentai .webp Image Format Unsupported #3322

Eliolocin opened this issue Nov 10, 2024 · 1 comment
Labels

Comments

@Eliolocin
Copy link

Bug description

Nhentai.net submissions lately now include .webp galleries, which Grabber currently cannot handle (it only handles .png, .gif, and .jpg formats). Images from these galleries that are .webp cannot be loaded or downloaded by Grabber. Logs show that Grabber attempts to resolve this by changing the extension to .jpg which still fails.

Steps to reproduce

  1. Open Grabber
  2. Make a Search Query using Nhentai.net
  3. Galleries that are .webp will appear in the results and can be opened but their images will not load, including the thumbnail. Downloading these galleries also does not work.

Expected behavior

.webp Galleries should also be handled by Grabber the same way as other image extensions.

Context

Error Log Snippet of Grabber trying to load gallery thumbnails with unsupported (.webp) format by replacing its extension with .jpg instead:

[12:10:00.007][Info] [nhentai.net][Json] Receiving page https://nhentai.net/api/galleries/search?page=1&sort=date&query=japanese
[12:10:00.014][Info] [nhentai.net][Json] Parsed page https://nhentai.net/api/galleries/search?page=1&sort=date&query=japanese: 25 images (25), 0 tags (167), -1 total (278650), 11146 pages (11146)
[12:10:02.075][Warning] Error loading thumbnail (Error transferring https://t.nhentai.net/galleries/3117280/thumb.undefined - server replied: ), new try with extension JPG
[12:10:02.075][Warning] Error loading thumbnail (Error transferring https://t.nhentai.net/galleries/3117322/thumb.undefined - server replied: ), new try with extension JPG
[12:10:02.075][Warning] Error loading thumbnail (Error transferring https://t.nhentai.net/galleries/3117329/thumb.undefined - server replied: ), new try with extension JPG
[12:10:03.117][Error] Error loading thumbnail (Error transferring https://t.nhentai.net/galleries/3117280/thumb.jpg - server replied: )
[12:10:03.118][Error] Error loading thumbnail (Error transferring https://t.nhentai.net/galleries/3117322/thumb.jpg - server replied: )
[12:10:03.120][Error] Error loading thumbnail (Error transferring https://t.nhentai.net/galleries/3117329/thumb.jpg - server replied: )

System information

  • OS: Windows 11
  • Grabber version: 7.12.2 (x64)
@Triramama
Copy link

I HATE WEBP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants