Manga type wrong

Issue #135 resolved
Marc created an issue

When trying to grab the type of a manhwa (a korean manga) i.e https://myanimelist.net/manga/30079/Annarasumanara, the API 'says' it's a manga, when it is a manhwa.

KyeBfYi.png

EDIT: manhua works on the other hand.

Comments (6)

  1. Michael Johnson

    Hey, you found a legacy bug!

    I did some digging and the old API we used to use spelled it "manwha". Looks like we carried that over when we built this API. I'm very surprised nobody caught this earlier, or it was valid and MAL corrected their romanization at some point in the past which broke the code.

    I'm working on a patch for both our release and development code to handle the "legacy" spelling and properly parse the correct spelling.

  2. Michael Johnson

    Update Model to Handle Manhwa

    Set the model to handle manhwa. It looks like MAL adjusted the spelling from the older “manwha” version. Still handle the older spelling for queries.

    NOTE: THIS POTENTIALLY BREAKS TOOLS EXPECTING THE OLDER SPELLING RETURNED IN THE MANGA TYPE.

    Fixes #135

    → <<cset afd40b5c4669>>

  3. Michael Johnson

    Update Model to Handle Manhwa

    Set the model to handle manhwa. It looks like MAL adjusted the spelling from the older “manwha” version. Still handle the older spelling for queries.

    NOTE: THIS POTENTIALLY BREAKS TOOLS EXPECTING THE OLDER SPELLING RETURNED IN THE MANGA TYPE.

    Fixes #135

    → <<cset 8cb8d9027b01>>

  4. Log in to comment