diff --git a/src/tr/kedito/build.gradle b/src/tr/kedito/build.gradle new file mode 100644 index 000000000..8f47805b4 --- /dev/null +++ b/src/tr/kedito/build.gradle @@ -0,0 +1,9 @@ +ext { + extName = 'Kedi.to' + extClass = '.Kedito' + themePkg = 'madara' + baseUrl = 'https://kedi.to' + overrideVersionCode = 0 +} + +apply from: "$rootDir/common.gradle" diff --git a/src/tr/kedito/res/mipmap-hdpi/ic_launcher.png b/src/tr/kedito/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..0694c5b23 Binary files /dev/null and b/src/tr/kedito/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/tr/kedito/res/mipmap-mdpi/ic_launcher.png b/src/tr/kedito/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..7cfcc4268 Binary files /dev/null and b/src/tr/kedito/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/tr/kedito/res/mipmap-xhdpi/ic_launcher.png b/src/tr/kedito/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..6882faf93 Binary files /dev/null and b/src/tr/kedito/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/tr/kedito/res/mipmap-xxhdpi/ic_launcher.png b/src/tr/kedito/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..134f910a1 Binary files /dev/null and b/src/tr/kedito/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/tr/kedito/res/mipmap-xxxhdpi/ic_launcher.png b/src/tr/kedito/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..ebefde852 Binary files /dev/null and b/src/tr/kedito/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/tr/kedito/src/eu/kanade/tachiyomi/extension/tr/kedito/Kedito.kt b/src/tr/kedito/src/eu/kanade/tachiyomi/extension/tr/kedito/Kedito.kt new file mode 100644 index 000000000..d7597fc27 --- /dev/null +++ b/src/tr/kedito/src/eu/kanade/tachiyomi/extension/tr/kedito/Kedito.kt @@ -0,0 +1,23 @@ +package eu.kanade.tachiyomi.extension.tr.kedito + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.network.interceptor.rateLimit +import java.text.SimpleDateFormat +import java.util.Locale + +class Kedito : Madara( + "Kedi.to", + "https://kedi.to", + "tr", + SimpleDateFormat("dd MMM yyyy", Locale("tr")), +) { + override val client = super.client.newBuilder() + .rateLimit(3) + .build() + + override val useNewChapterEndpoint = true + + override val useLoadMoreRequest = LoadMoreStrategy.Never + + override val chapterUrlSuffix = "" +}