Skip to content

Allow manually mapping sources to parsers #12

Description

@PhantomShift

Give users the ability to map a Tachiyomi/Mihon sources to Kotatsu parsers manually, with any or all of the following methods

Source to Parser List

  • url, name, id input and output
# name -> ID
NAME mangadex ID MANGADEX

# ID -> name
ID 2971557565147974499 NAME Comick

# url -> url
# idk lol
URL sinensisscan.net URL sinensisscan.com

Lua Script

Expose manga objects to lua scripts that run comparison functions.
Example:

function mapSource(source)
    if source.id == 4201337 then
        return "id", "EXAMPLE"
    end
    if source.url:match("something.com") then
        return "url", "something.net"
    end
   -- not applicable
   return nil
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions