-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Describe the bug
The type of episode in API response may be string instead of int, it will result in JSON parse error
How To Reproduce
{
"frameCount": 10060750,
"error": "",
"result": [
{
"anilist": {
"id": 102882,
"idMal": 37956,
"title": {
"native": "3D彼女 リアルガール 2",
"romaji": "3D Kanojo: Real Girl 2",
"english": "Real Girl 2"
},
"synonyms": [],
"isAdult": false
},
"filename": "[Leopard-Raws] 3D Kanojo: Real Girl 2 - 05 (17) RAW (NTV 1280x720 x264 AAC).mp4",
"episode": "5|17",
"from": 538.25,
"to": 541.67,
"similarity": 0.8660776120135708,
"video": "https://media.trace.moe/video/102882/%5BLeopard-Raws%5D%203D%20Kanojo%EF%BC%9A%20Real%20Girl%202%20-%2005%20(17)%20RAW%20(NTV%201280x720%20x264%20AAC).mp4?t=539.96&now=1701698400&token=TTSLVnG6qGzrGllZwOTpQX2SI",
"image": "https://media.trace.moe/image/102882/%5BLeopard-Raws%5D%203D%20Kanojo%EF%BC%9A%20Real%20Girl%202%20-%2005%20(17)%20RAW%20(NTV%201280x720%20x264%20AAC).mp4.jpg?t=539.96&now=1701698400&token=nNHKvEaWeimyR6iPseTZ7LwSDs"
},
]
}
Expected behavior
Unmarshal json sucessfully.
Screenshots
N/A
Environment (please complete the following information):
- OS: windows11
- Version: v0.1.0
Metadata
Metadata
Assignees
Labels
No labels