16colo-rs / 16c

16colo.rs ANSI/ASCII Archive
5 stars 1 forks source link

API corrupted data - fuel23 #91

Closed michael-lazar closed 2 months ago

michael-lazar commented 2 months ago

Looking at the JSON response for this pack

https://api.16colo.rs/v1/pack/fuel23

Inside of the files object I'm expecting to see a list of all of the filenames in the pack along with metadata. However there's also a random key called file with a funky format that makes it look like the parser got confused somehow. I haven't seen this on any other pack so far.

[
   "cl!-al06.ans": {...},
   "fil-Gluckwunsche.ans": {...},
   "file": {
     "fil-Gluckwunsche.ans": {
       "v1": {
         "file": "fil-Gluckwunsche.ans.mp4"
        }
      },
    },  
    "fuel23-mem.ans": {...},
     ...
]
bart-d commented 2 months ago
      "results": [{
            "year": 2017,
            "files": {
                ...
                "cl!-al06.ans": {...},
                "fil-Gluckwunsche.ans": {...},
                "fuel23-mem.ans": {...},
                "fuel23-nfo.ans": {...},
                "k1-hw.ans": {...},
    ]