kotatsu-parsers
所属分类:hotest
开发工具:kotlin
文件大小:0KB
下载次数:0
上传日期:2023-06-28 10:22:01
上 传 者:
sh-1993
说明: Kotlin JVM和Android的Manga解析器库
(Manga parsers library for Kotlin JVM and Android)
文件列表:
.editorconfig (294, 2023-12-31)
.idea/ (0, 2023-12-31)
.idea/kotlinc.xml (176, 2023-12-31)
CONTRIBUTING.md (4609, 2023-12-31)
LICENSE (35149, 2023-12-31)
build.gradle (1724, 2023-12-31)
buildSrc/ (0, 2023-12-31)
buildSrc/build.gradle (324, 2023-12-31)
buildSrc/gradle/ (0, 2023-12-31)
buildSrc/gradle/wrapper/ (0, 2023-12-31)
buildSrc/gradle/wrapper/gradle-wrapper.jar (59821, 2023-12-31)
buildSrc/gradle/wrapper/gradle-wrapper.properties (200, 2023-12-31)
buildSrc/gradlew (8070, 2023-12-31)
buildSrc/gradlew.bat (2763, 2023-12-31)
buildSrc/src/ (0, 2023-12-31)
buildSrc/src/main/ (0, 2023-12-31)
buildSrc/src/main/kotlin/ (0, 2023-12-31)
buildSrc/src/main/kotlin/tasks/ (0, 2023-12-31)
buildSrc/src/main/kotlin/tasks/ReportGenerateTask.kt (2230, 2023-12-31)
buildSrc/src/main/kotlin/tasks/model/ (0, 2023-12-31)
buildSrc/src/main/kotlin/tasks/model/Failure.kt (447, 2023-12-31)
buildSrc/src/main/kotlin/tasks/model/TestCase.kt (686, 2023-12-31)
buildSrc/src/main/kotlin/tasks/model/TestSuite.kt (572, 2023-12-31)
buildSrc/src/main/resources/ (0, 2023-12-31)
buildSrc/src/main/resources/report.html (4055, 2023-12-31)
gradle.properties (80, 2023-12-31)
gradle/ (0, 2023-12-31)
gradle/wrapper/ (0, 2023-12-31)
... ...
# Kotatsu parsers
This library provides manga sources.
[![](https://jitpack.io/v/KotatsuApp/kotatsu-parsers.svg)](https://jitpack.io/#KotatsuApp/kotatsu-parsers) ![Kotlin](https://img.shields.io/github/languages/top/KotatsuApp/kotatsu-parsers) ![License](https://img.shields.io/github/license/KotatsuApp/Kotatsu) [![Telegram](https://img.shields.io/badge/chat-telegram-60ACFF)](https://t.me/kotatsuapp) [![Discord](https://img.shields.io/discord/898363402467045416?color=5865f2&label=discord)](https://discord.gg/NNJ5RgVBC5)
## Usage
1. Add it to your root build.gradle at the end of repositories:
```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
2. Add the dependency
For Java/Kotlin project:
```groovy
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'
}
}
```
Versions are available on [JitPack](https://jitpack.io/#KotatsuApp/kotatsu-parsers)
When used in Android
projects, [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring) with
the [NIO specification](https://developer.android.com/studio/write/java11-nio-support-table) should be enabled to
support Java 8+ features.
3. Usage in code
```kotlin
val parser = mangaLoaderContext.newParserInstance(MangaSource.MANGADEX)
```
`mangaLoaderContext` is an implementation of the `MangaLoaderContext` class.
See examples
of [Android](https://github.com/KotatsuApp/Kotatsu/blob/devel/app/src/main/kotlin/org/koitharu/kotatsu/core/parser/MangaLoaderContextImpl.kt)
and [Non-Android](https://github.com/KotatsuApp/kotatsu-dl/blob/master/src/jvmMain/kotlin/org/koitharu/kotatsu_dl/logic/MangaLoaderContextImpl.kt)
implementation.
Note that the `MangaSource.LOCAL` and `MangaSource.DUMMY` parsers cannot be instantiated.
## Contribution
See [CONTRIBUTING.md](./CONTRIBUTING.md) 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.
近期下载者:
相关文件:
收藏者: