diff --git a/multisrc/overrides/madara/burningscans/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/madara/burningscans/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..c4a71b4c1 Binary files /dev/null and b/multisrc/overrides/madara/burningscans/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/burningscans/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/madara/burningscans/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..e2c093e26 Binary files /dev/null and b/multisrc/overrides/madara/burningscans/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/burningscans/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/madara/burningscans/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..94b1581a1 Binary files /dev/null and b/multisrc/overrides/madara/burningscans/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/burningscans/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/madara/burningscans/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..f69a9af91 Binary files /dev/null and b/multisrc/overrides/madara/burningscans/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/burningscans/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/madara/burningscans/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..22070bbb3 Binary files /dev/null and b/multisrc/overrides/madara/burningscans/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/burningscans/src/BurningScans.kt b/multisrc/overrides/madara/burningscans/src/BurningScans.kt new file mode 100644 index 000000000..2e08eaf7c --- /dev/null +++ b/multisrc/overrides/madara/burningscans/src/BurningScans.kt @@ -0,0 +1,27 @@ +package eu.kanade.tachiyomi.extension.pt.burningscans + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.network.GET +import eu.kanade.tachiyomi.network.interceptor.rateLimit +import okhttp3.Request +import java.text.SimpleDateFormat +import java.util.Locale + +class BurningScans : Madara( + "Burning Scans", + "https://burningscans.com", + "pt-BR", + SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")), +) { + override val client = super.client.newBuilder() + .rateLimit(2) + .build() + + override val useNewChapterEndpoint = true + + override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/" + + override fun genresRequest(): Request { + return GET("$baseUrl/?s=&post_type=wp-manga", headers) + } +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index 16b0c642a..664facb8a 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -60,6 +60,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("BokugenTranslation", "https://bokugents.com", "es", overrideVersionCode = 1), SingleLang("Boruto Explorer", "https://leitor.borutoexplorer.com.br", "pt-BR", overrideVersionCode = 1), SingleLang("BoysLove", "https://boyslove.me", "en", isNsfw = true, overrideVersionCode = 3), + SingleLang("Burning Scans", "https://burningscans.com", "pt-BR", isNsfw = true), SingleLang("Café com Yaoi", "http://cafecomyaoi.com.br", "pt-BR", className = "CafeComYaoi", isNsfw = true, overrideVersionCode = 1), SingleLang("CAT-translator", "https://cats-translator.com/manga", "th", className = "CatTranslator", overrideVersionCode = 2), SingleLang("Cat300", "https://cat300.com", "th", isNsfw = true, overrideVersionCode = 1),