diff --git a/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..527c96065 Binary files /dev/null and b/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..73bfb9162 Binary files /dev/null and b/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..064c34a02 Binary files /dev/null and b/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..e8ae6b227 Binary files /dev/null and b/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..dcbfae118 Binary files /dev/null and b/multisrc/overrides/wpmangareader/sushiscan/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/wpmangareader/sushiscan/res/web_hi_res_512.png b/multisrc/overrides/wpmangareader/sushiscan/res/web_hi_res_512.png new file mode 100644 index 000000000..83de94858 Binary files /dev/null and b/multisrc/overrides/wpmangareader/sushiscan/res/web_hi_res_512.png differ diff --git a/multisrc/overrides/wpmangareader/sushiscan/src/SushiScan.kt b/multisrc/overrides/wpmangareader/sushiscan/src/SushiScan.kt new file mode 100644 index 000000000..2eab1bbaf --- /dev/null +++ b/multisrc/overrides/wpmangareader/sushiscan/src/SushiScan.kt @@ -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 + } +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt index 2fd3db9b7..a9253318f 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt @@ -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 {