Add ShindaiScan (#6783)
This commit is contained in:
parent
a3a2580c84
commit
820806815b
|
@ -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 |
|
@ -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()
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue