Skip to content

Kotatsu parsers

This library provides manga sources.

Usage

Add it to your root build.gradle at the end of repositories:

groovy
allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }  
	}
}
allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }  
	}
}

Add the dependency

For Java/Kotlin project:

groovy
dependencies {
    implementation("com.github.KotatsuApp:kotatsu-parsers:$parsers_version")
}
dependencies {
    implementation("com.github.KotatsuApp:kotatsu-parsers:$parsers_version")
}

For Android project:

groovy
dependencies {
    implementation("com.github.KotatsuApp:kotatsu-parsers:$parsers_version") {
        exclude group: 'org.json', module: 'json'
    }
}
dependencies {
    implementation("com.github.KotatsuApp:kotatsu-parsers:$parsers_version") {
        exclude group: 'org.json', module: 'json'
    }
}

Versions are available on JitPack

Usage in code

kotlin
val parser = mangaLoaderContext.newParserInstance(MangaSource.MANGADEX)
val parser = mangaLoaderContext.newParserInstance(MangaSource.MANGADEX)

mangaLoaderContext is an implementation of the MangaLoaderContext class.

See examples of Android and Non-Android implementation.

Note that the MangaSource.LOCAL and MangaSource.DUMMY parsers cannot be instantiated.

DMCA disclaimer

The developers of this application have no affiliation with the content available in the app. It is collected from sources freely available through any web browser.