Add ShindaiScan (#6783)

This commit is contained in:
Chopper 2024-12-24 09:04:28 -03:00 committed by Draff
parent a3a2580c84
commit 820806815b
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,9 @@
ext {
extName = 'Shindai Scan'
extClass = '.ShindaiScan'
themePkg = 'madara'
baseUrl = 'https://shindai.com.br'
overrideVersionCode = 0
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,22 @@
package eu.kanade.tachiyomi.extension.pt.shindaiscan
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SChapter
import okhttp3.Response
import java.text.SimpleDateFormat
import java.util.Locale
class ShindaiScan : Madara(
"Shindai Scan",
"https://shindai.com.br",
"pt-BR",
SimpleDateFormat("dd/MM/yyyy", Locale.ROOT),
) {
override val useNewChapterEndpoint = true
override fun chapterListParse(response: Response): List<SChapter> {
return super.chapterListParse(response)
.sortedBy(SChapter::name)
.reversed()
}
}