Add Koreli Scans (#4583)
This commit is contained in:
parent
50e1900029
commit
9938fb1750
|
@ -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 |
|
@ -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)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue