Add Sushi-Scan to WPMangaReader (#12677)

* Added Sushi-Scan

* Added Sushi-Scan

* Update SushiScan.kt

Fixed imports
This commit is contained in:
Sapphire 2022-07-22 14:20:10 +02:00 committed by GitHub
parent 31a8bb3078
commit 4b334fda9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 20 additions and 0 deletions

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

View File

@ -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
}
}

View File

@ -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 {