mwoffliner icon indicating copy to clipboard operation
mwoffliner copied to clipboard

Scraping dies with "Input buffer contains unsupported image format" if logo returns 301

Open benoit74 opened this issue 9 months ago • 6 comments

Zimfarm recipe: https://farm.openzim.org/recipes/encyclopediaofmath.org_en_all

Zim-request details: https://github.com/openzim/zim-requests/issues/964#issuecomment-2124736481

Log:

[error] [2024-05-22T12:56:44.462Z] Failed to run mwoffliner after [18s]: {
	"stack": "Error: Input buffer contains unsupported image format",
	"message": "Input buffer contains unsupported image format"
}
[error] [2024-05-22T12:56:44.462Z] 

**********

Input buffer contains unsupported image format

**********

It is pretty hard to tell which image has been grabbed and failed to be read, making the fix even more delicate.

benoit74 avatar May 22 '24 13:05 benoit74