feat: added adultwebtoon as source (#11457)

This commit is contained in:
Alexander Chernov 2022-04-13 16:21:42 +01:00 committed by GitHub
parent 6ca2749e2c
commit 2740c1c729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 26 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

View File

@ -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
)
}
}

View File

@ -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"),