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

When used in Android projects, core library desugaring with the NIO specification should be enabled to support Java 8+ features.

Usage in code

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

mangaLoaderContext is an implementation of the MangaLoaderContext class.

See examples of Android and Non-Android implementation.

Note that the MangaParserSource.DUMMY parsers cannot be instantiated.

Projects that use the library

Contribution

Check here for the guidelines.

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.