diff --git a/multisrc/overrides/madara/adultwebtoon/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/madara/adultwebtoon/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..2e6ef5321 Binary files /dev/null and b/multisrc/overrides/madara/adultwebtoon/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/adultwebtoon/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/madara/adultwebtoon/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..3c445161b Binary files /dev/null and b/multisrc/overrides/madara/adultwebtoon/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/adultwebtoon/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/madara/adultwebtoon/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..6f48786bc Binary files /dev/null and b/multisrc/overrides/madara/adultwebtoon/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/adultwebtoon/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/madara/adultwebtoon/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..f655aecc4 Binary files /dev/null and b/multisrc/overrides/madara/adultwebtoon/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/adultwebtoon/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/madara/adultwebtoon/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..1c041d8c9 Binary files /dev/null and b/multisrc/overrides/madara/adultwebtoon/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/adultwebtoon/res/web_hi_res_512.png b/multisrc/overrides/madara/adultwebtoon/res/web_hi_res_512.png new file mode 100644 index 000000000..60fea3af4 Binary files /dev/null and b/multisrc/overrides/madara/adultwebtoon/res/web_hi_res_512.png differ diff --git a/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt b/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt new file mode 100644 index 000000000..1033f95d3 --- /dev/null +++ b/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt @@ -0,0 +1,25 @@ +package eu.kanade.tachiyomi.extension.en.adultwebtoon + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.network.GET +import okhttp3.CacheControl +import okhttp3.Request + +class AdultWebtoon : Madara("Adult Webtoon", "https://adultwebtoon.com/", "en") { + + override val useLoadMoreSearch = false + override fun popularMangaRequest(page: Int): Request { + return GET( + "$baseUrl/manga/?m_orderby=trending", + formHeaders, + CacheControl.FORCE_NETWORK + ) + } + override fun latestUpdatesRequest(page: Int): Request { + return GET( + "$baseUrl/manga/?m_orderby=latest", + formHeaders, + CacheControl.FORCE_NETWORK + ) + } +} 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 65468c6e7..e6d155225 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 @@ -30,6 +30,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("8Muses Comics", "https://8muses.love/", "en", isNsfw = true, className = "EightMusesComics"), SingleLang("AZManhwa", "https://azmanhwa.net", "en"), SingleLang("Adonis Fansub", "https://manga.adonisfansub.com", "tr", overrideVersionCode = 1), + SingleLang("Adult Webtoon", "https://adultwebtoon.com/", "en", true), SingleLang("Agent of Change Translations", "https://aoc.moe", "en", overrideVersionCode = 1), SingleLang("Aiin Scan", "https://aiinscan.xyz", "pt-BR"), SingleLang("AiYuManga", "https://aiyumangascanlation.com", "es"),