Add Sushi-Scan to WPMangaReader (#12677)
* Added Sushi-Scan * Added Sushi-Scan * Update SushiScan.kt Fixed imports
This commit is contained in:
parent
31a8bb3078
commit
4b334fda9c
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
After Width: | Height: | Size: 162 KiB |
|
@ -0,0 +1,19 @@
|
|||
package eu.kanade.tachiyomi.extension.fr.sushiscan
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
|
||||
class SushiScan : WPMangaReader("Sushi-Scan", "https://sushiscan.su", "fr", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.FRENCH)) {
|
||||
override val altName = "Nom alternatif : "
|
||||
override val seriesStatusSelector = ".tsinfo .imptdt:contains(Statut)"
|
||||
override val seriesArtistSelector = ".tsinfo .imptdt:contains(Dessinateur) i"
|
||||
|
||||
override fun parseStatus(status: String) = when {
|
||||
status.contains("En Cours") -> SManga.ONGOING
|
||||
status.contains("Terminé") -> SManga.COMPLETED
|
||||
else -> SManga.UNKNOWN
|
||||
}
|
||||
}
|
|
@ -54,6 +54,7 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
|
|||
SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 10),
|
||||
SingleLang("White Cloud Pavilion (New)", "https://www.whitecloudpavilion.com", "en", pkgName = "whitecloudpavilionnew", className = "WhiteCloudPavilion"),
|
||||
SingleLang("ARESManga", "https://aresmanga.com", "ar", pkgName = "iimanga", overrideVersionCode = 2),
|
||||
SingleLang("Sushi-Scan", "https://sushiscan.su", "fr", className = "SushiScan"),
|
||||
)
|
||||
|
||||
companion object {
|
||||
|
|
Loading…
Reference in New Issue