Skip to content

Commit

Permalink
Add ShindaiScan (#6783)
Browse files Browse the repository at this point in the history
  • Loading branch information
choppeh authored Dec 24, 2024
1 parent 1050612 commit 101adf6
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/pt/shindaiscan/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ext {
extName = 'Shindai Scan'
extClass = '.ShindaiScan'
themePkg = 'madara'
baseUrl = 'https://shindai.com.br'
overrideVersionCode = 0
}

apply from: "$rootDir/common.gradle"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -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()
}
}

0 comments on commit 101adf6

Please sign in to comment.