openzim / zim-requests

Want a new ZIM file? Propose ZIM content improvements or fixes? Here you are!
https://farm.openzim.org
38 stars 2 forks source link

[Recipe created] citizendium.org #616

Open Rexadev opened 1 year ago

Rexadev commented 1 year ago
Rexadev commented 7 months ago

@RavanJAltaie request fixed

RavanJAltaie commented 6 months ago

Recipe created https://farm.openzim.org/recipes/citizendium.org_en_all I'll update the library link once available

RavanJAltaie commented 5 months ago

@benoit74 this recipe is failing I have this error:


                            8,
                            221,
                            4,
                            164,
                            2,
                            4,
                            0,
                            166,
                            20,
                            4,
                            18,
                            101,
                            110,
                            46,
                            99,
                            105,
                            116,
                            105,
                            122,
                            101,
                            110,
                            100,
                            105,
                            117,
                            109,
                            46,
                            111,
                            114,
                            103,
                            169,
                            4,
                            2,
                            2,
                            1,
                            44,
                            170,
                            34,
                            4,
                            32,
                            149,
                            226,
                            60,
                            160,
                            178,
                            163,
                            119,
                            133,
                            4,
                            225,
                            8,
                            24,
                            197,
                            192,
                            224,
                            114,
                            17,
                            200,
                            201,
                            232,
                            22,
                            246,
                            192,
                            28,
                            82,
                            242,
                            85,
                            215,
                            30,
                            76,
                            60,
                            31,
                            174,
                            7,
                            2,
                            5,
                            0,
                            130,
                            239,
                            143,
                            169,
                            179,
                            3,
                            2,
                            1,
                            29
                        ]
                    }
                },
                "list": [
                    "en.citizendium.org:443:::::::::::::::::::::"
                ]
            }
        },
        "responseType": "json",
        "method": "get",
        "url": "https://en.citizendium.org/de/api.php?action=query&meta=siteinfo&format=json&siprop=general%7Cnamespaces%7Cstatistics%7Cvariables%7Ccategory%7Cwikidesc%22
    },
    "code": "ERR_BAD_REQUEST",
    "status": 404
}````

Is this an upstream issue?
benoit74 commented 5 months ago

I don't think this is an upstream issue, the mwApiPath, mwModulePath and mwWikiPath in the recipe look a bit weird.

Why are you using /de prefix in all of them? Did you had a look at the documentation regarding how to configure them properly?

RavanJAltaie commented 4 months ago

@benoit74 I've fixed the parameters, now I'm getting this error:

(node:13) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
[error] [2024-05-08T12:34:23.866Z] Failed to run mwoffliner after [2s]: {
    "stack": "Error: Input buffer contains unsupported image format",
    "message": "Input buffer contains unsupported image format"
}
[error] [2024-05-08T12:34:23.866Z] 

**********

Input buffer contains unsupported image format

**********