MALSync / MAL-Sync-Backup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAL-Sync Backup

The main purppose of this repository is have a backup of the MAL-Sync MAL to Streaming page mapping database. But using the data for other uses is allowed. For commercial use contact us. 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

Page Total MalID noMalID AniID noAniID
9anime 11386 10963 423 10188 1198
Gogoanime 11239 10597 642 10255 984
Marin 1247 1227 20 1223 24
Zoro 6117 6037 80 5855 262
Mangadex 68320 31121 37199 34802 33518
MangaFox 12307 7560 4747 7679 4628
MangaSee 7401 6599 802 6643 758
MangaNato 20645 11199 9446 11953 8692
MangaFire 26657 22265 4392 24980 1677

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

{
  "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

{
  "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 here.
[PageKey]/main.ts -> (overview|sync):getIdentifier(url)

About