pouetnet / pouet2.0

The next generation of trumpets. Now with 10% more whining sound.
http://www.pouet.net/
Other
141 stars 28 forks source link

credits are not populated in prod data dump #95

Closed adenyes closed 4 years ago

adenyes commented 4 years ago

Credit elements are always empty in data dumps, though credits are populated in API.

andr00@Macrophage:check$ jq '.prods[0]|"\(.name) \(.credits)"' pouetdatadump-prods-20191204.json 
"Astral Blur []"
andr00@Macrophage:check$ jq '.prods[].credits|length' pouetdatadump-prods-20191204.json | uniq -c
80521 0

Via API:

        "credits": [
            {
                "user": {
                    "id": "1199",
                    "nickname": "Jace_TBL",
                    "level": "user",
                    "avatar": "taikyoku.gif",
                    "glops": "40",
                    "registerDate": "2001-09-25 01:48:39"
                },
                "role": "Code (additional)"
            },
            {
                "user": {
                    "id": "20113",
                    "nickname": "Louie500",
                    "level": "user",
                    "avatar": "decept.gif",
                    "glops": "2",
                    "registerDate": "2008-04-11 09:04:40"
                },
                "role": "Graphics"
            },
            {
                "user": {
                    "id": "89030",
                    "nickname": "Lowlife",
                    "level": "user",
                    "avatar": "mercury-ava1.gif",
                    "glops": "6",
                    "registerDate": "2012-10-18 08:26:01"
                },
                "role": "Graphics"
            }
        ],

Expected: credit elements should be omitted or populated with data from DB.