feat: added adultwebtoon as source (#11457)
This commit is contained in:
parent
6ca2749e2c
commit
2740c1c729
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 |
|
@ -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
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
|
@ -30,6 +30,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("8Muses Comics", "https://8muses.love/", "en", isNsfw = true, className = "EightMusesComics"),
|
SingleLang("8Muses Comics", "https://8muses.love/", "en", isNsfw = true, className = "EightMusesComics"),
|
||||||
SingleLang("AZManhwa", "https://azmanhwa.net", "en"),
|
SingleLang("AZManhwa", "https://azmanhwa.net", "en"),
|
||||||
SingleLang("Adonis Fansub", "https://manga.adonisfansub.com", "tr", overrideVersionCode = 1),
|
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("Agent of Change Translations", "https://aoc.moe", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Aiin Scan", "https://aiinscan.xyz", "pt-BR"),
|
SingleLang("Aiin Scan", "https://aiinscan.xyz", "pt-BR"),
|
||||||
SingleLang("AiYuManga", "https://aiyumangascanlation.com", "es"),
|
SingleLang("AiYuManga", "https://aiyumangascanlation.com", "es"),
|
||||||
|
|
Loading…
Reference in New Issue