diff --git a/multisrc/overrides/hikariscan/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/hikariscan/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..fa6c1b994 Binary files /dev/null and b/multisrc/overrides/hikariscan/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/hikariscan/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/hikariscan/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..aa2e8c9c3 Binary files /dev/null and b/multisrc/overrides/hikariscan/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/hikariscan/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/hikariscan/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..731cc59ea Binary files /dev/null and b/multisrc/overrides/hikariscan/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/hikariscan/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/hikariscan/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..81ca17b79 Binary files /dev/null and b/multisrc/overrides/hikariscan/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/hikariscan/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/hikariscan/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..443db40b6 Binary files /dev/null and b/multisrc/overrides/hikariscan/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/hikariscan/src/HikariScan.kt b/multisrc/overrides/hikariscan/src/HikariScan.kt new file mode 100644 index 000000000..76e96211e --- /dev/null +++ b/multisrc/overrides/hikariscan/src/HikariScan.kt @@ -0,0 +1,22 @@ +package eu.kanade.tachiyomi.extension.pt.hikariscan + +import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia +import eu.kanade.tachiyomi.network.interceptor.rateLimitHost +import okhttp3.HttpUrl.Companion.toHttpUrl +import java.text.SimpleDateFormat +import java.util.Locale + +class HikariScan : MangaThemesia( + "Hikari Scan", + "https://hikariscan.org", + "pt-BR", + dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")), +) { + override val client = super.client.newBuilder() + .rateLimitHost(baseUrl.toHttpUrl(), 1, 2) + .build() + + // =========================== Manga Details ============================ + override val altNamePrefix = "Títulos alternativos: " + override val seriesAuthorSelector = ".tsinfo .imptdt:contains(autor) i" +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt index 60a5c6515..f4d267595 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt @@ -49,6 +49,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { SingleLang("Gremory Mangas", "https://gremorymangas.com", "es"), SingleLang("Hanuman Scan", "https://hanumanscan.com", "en"), SingleLang("Heroxia", "https://heroxia.com", "id", isNsfw = true), + SingleLang("Hikari Scan", "https://hikariscan.org", "pt-BR", isNsfw = true, overrideVersionCode = 1), SingleLang("Imagine Scan", "https://imaginescan.com.br", "pt-BR", isNsfw = true, overrideVersionCode = 1), SingleLang("InariManga", "https://inarimanga.com", "es", overrideVersionCode = 7), SingleLang("Infernal Void Scans", "https://void-scans.com", "en", overrideVersionCode = 5),