Add Koreli Scans (#4583)

This commit is contained in:
Vetle Ledaal 2024-08-13 03:14:27 +02:00 committed by Draff
parent 50e1900029
commit 9938fb1750
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'Koreli Scans'
extClass = '.KoreliScans'
themePkg = 'madara'
baseUrl = 'https://koreliscans.com'
overrideVersionCode = 0
isNsfw = false
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -0,0 +1,25 @@
package eu.kanade.tachiyomi.extension.tr.koreliscans
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.MangasPage
import okhttp3.Response
import java.text.SimpleDateFormat
import java.util.Locale
class KoreliScans : Madara(
"Koreli Scans",
"https://koreliscans.com",
"tr",
dateFormat = SimpleDateFormat("d MMMM yyyy", Locale("tr")),
) {
override val useLoadMoreRequest = LoadMoreStrategy.Never
override val useNewChapterEndpoint = true
override val popularMangaUrlSelector = "div.chap-title a"
override fun searchMangaParse(response: Response): MangasPage {
val mangasPage = super.searchMangaParse(response)
val filteredMangas = mangasPage.mangas.filterNot { it.title.endsWith(" Novel") }
return MangasPage(filteredMangas, mangasPage.hasNextPage)
}
}