2021-06-15 09:52:18 +02:00
# MAL-Sync Backup
2021-08-24 12:34:40 +02:00
The main purppose of this repository is have a backup of the < a href = "https://github.com/MALSync/MALSync" > MAL-Sync< / a > MAL to Streaming page mapping database. But using the data for other uses is allowed. For commercial use < a href = "mailto:lolamtisch@gmail.com" > contact us< / a > .
2021-06-15 09:52:18 +02:00
The data is updated once a week. Wrong/missing mappings are not seldom, specially mangas, but because they are generated through all the users of MAL-Sync it should correct itself over time.
## Stats
<!-- statstable -->
| Page | Total | MalID | noMalID | AniID | noAniID |
| --------- | ----- | ----- | ------- | ----- | ------- |
2021-10-24 03:11:08 +02:00
| 9anime | 13106 | 12885 | 221 | 12483 | 623 |
| Gogoanime | 8378 | 8224 | 154 | 8153 | 225 |
| Mangadex | 46416 | 25493 | 20923 | 27089 | 19327 |
| MangaNato | 10515 | 5884 | 4631 | 6551 | 3964 |
2021-10-17 03:11:14 +02:00
| Twistmoe | 2004 | 1983 | 21 | 1978 | 26 |
2021-10-24 03:11:08 +02:00
| MangaFox | 8025 | 4971 | 3054 | 5019 | 3006 |
| MangaSee | 6142 | 5212 | 930 | 5338 | 804 |
2021-06-15 09:52:18 +02:00
<!-- /statstable -->
## Structure
An _index.json can be found in every folder containing an array of all ids
### MAL -> Streaming Page Structure:
`data/myanimelist/(anime|manga)/[id].json`
anime/19815
```json
{
"altTitle": [
"No Game, No Life",
"NGNL",
"ノーゲーム・ノーライフ"
],
"id": 19815,
"type": "anime",
"title": "No Game No Life",
"url": "https://myanimelist.net/anime/19815/No_Game_No_Life",
"image": "https://cdn.myanimelist.net/images/anime/5/65187.jpg",
"category": "TV",
"hentai": false,
"createdAt": "2020-10-12T12:36:13.580Z",
"updatedAt": "2020-10-15T11:36:06.203Z",
"Pages": {
"Aniwatch": {
"350": {
"...": "..."
}
},
"9anime": {
"4qkm": {
"...": "..."
},
"y2p0": {
"...": "..."
}
},
"Gogoanime": {
"no-game-no-life": {
"...": "..."
},
"no-game-no-life-dub": {
"...": "..."
}
},
"Twistmoe": {
"no-game-no-life": {
"...": "..."
}
}
}
}
```
### Streaming Page -> MAL Structure:
`data/pages/[streaming page key]/[id].json`
9anime/214
```json
{
"identifier": "214",
"malUrl": "https://myanimelist.net/anime/9617/K-On_Movie",
"type": "anime",
"page": "9anime",
"title": "K-On! Movie",
"url": "...",
"image": "....",
"hentai": false,
"sticky": false,
"active": true,
"actor": null,
"malId": 9617,
"createdAt": "...",
"updatedAt": "...",
"Mal": {
"altTitle": [],
"id": 9617,
"type": "anime",
"title": "K-On! Movie",
"url": "...",
"image": "...",
"category": "-",
"hentai": false,
"createdAt": "...",
"updatedAt": "..."
}
}
```
How to find the IDs can be checked in < a href = "https://github.com/lolamtisch/MALSync/tree/master/src/pages" > here< / a > .
`[PageKey]/main.ts -> (overview|sync):getIdentifier(url)`