diff --git a/multisrc/overrides/madara/toongod/src/ToonGod.kt b/multisrc/overrides/madara/toongod/src/ToonGod.kt index 21abe5e4e..e6fd53b87 100644 --- a/multisrc/overrides/madara/toongod/src/ToonGod.kt +++ b/multisrc/overrides/madara/toongod/src/ToonGod.kt @@ -2,6 +2,7 @@ package eu.kanade.tachiyomi.extension.en.toongod import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.network.GET +import eu.kanade.tachiyomi.source.model.Page import okhttp3.Request import java.text.SimpleDateFormat import java.util.Locale @@ -11,4 +12,7 @@ class ToonGod : Madara("ToonGod", "https://www.toongod.com", "en", SimpleDateFor override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/webtoons/page/$page/?m_orderby=latest", headers) override val mangaSubString = "webtoons" override val useLoadMoreSearch = false + override fun imageRequest(page: Page): Request { + return GET(page.imageUrl!!, 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 ea80205fb..f0bccfe4a 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 @@ -439,7 +439,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Time Naight", "https://timenaight.com", "tr"), SingleLang("Todaymic", "https://todaymic.com", "en", overrideVersionCode = 1), SingleLang("TonizuToon", "https://tonizutoon.com", "tr", isNsfw = true), - SingleLang("ToonGod", "https://www.toongod.com", "en", isNsfw = true, overrideVersionCode = 3), + SingleLang("ToonGod", "https://www.toongod.com", "en", isNsfw = true, overrideVersionCode = 4), SingleLang("Toonily", "https://toonily.com", "en", isNsfw = true, overrideVersionCode = 8), SingleLang("Toonily.net", "https://toonily.net", "en", isNsfw = true, className = "Toonilynet", overrideVersionCode = 2), SingleLang("ToonMany", "https://toonmany.com", "en", isNsfw = true),