This library provides a collection of manga parsers for convenient access manga available on the web. It can be used in JVM and Android applications.
-
Add it to your root build.gradle at the end of repositories:
allprojects { repositories { ... maven { url 'https://jitpack.io' } } }
-
Add the dependency
For Java/Kotlin project:
dependencies { implementation("com.github.KotatsuApp:kotatsu-parsers:$parsers_version") }
For Android project:
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
val parser = mangaLoaderContext.newParserInstance(MangaParserSource.MANGADEX)
mangaLoaderContext
is an implementation of theMangaLoaderContext
class. See examples of Android and Non-Android implementation.Note that the
MangaParserSource.DUMMY
parsers cannot be instantiated.
See CONTRIBUTING.md for the guidelines.
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.