youtube icon indicating copy to clipboard operation
youtube copied to clipboard

Illustration does not respect the openZIM specification

Open kelson42 opened this issue 10 months ago • 1 comments

See for example: https://farm.openzim.org/pipeline/a021a6b8-019c-498a-b435-f08a3dedac19

Zimcheck report: "file_name": "/data/nota-bene_fr_all_2024-03.zim", "file_uuid": "1efae61e-9ee7-271d-9120-4bfa0fd892de", "logs": [ { "check": "metadata", "error": "Illustration_48x48@1 doesn't match regex: ^\x89PNG\x0d\x0a\x1a\x0a", "level": "ERROR", "message": "Illustration_48x48@1 doesn't match regex: ^\x89PNG\x0d\x0a\x1a\x0a" },

kelson42 avatar Apr 08 '24 05:04 kelson42

It's a JPEG image…

rgaudin avatar Apr 08 '24 07:04 rgaudin

If I got is right, using latest scraperlib would help to get that fixed straight, see #175

kelson42 avatar May 18 '24 13:05 kelson42

Yes, the run would have failed ; and there are conversion functions to use

rgaudin avatar May 18 '24 17:05 rgaudin

Fixed by https://github.com/openzim/youtube/pull/202

benoit74 avatar May 22 '24 07:05 benoit74