fix two madara sources (#8294)
* Update MangaGG.kt * Update WebToon18.kt * Delete MangaLibrary.kt * Delete multisrc/overrides/madara/mangalibrary directory * Update MadaraGenerator.kt
This commit is contained in:
parent
292d025be0
commit
02393522b5
|
@ -1,11 +1,5 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangagg
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import okhttp3.Request
|
||||
|
||||
class MangaGG : Madara("MangaGG", "https://mangagg.com", "en") {
|
||||
|
||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/comic-list/$page?m_orderby=views", headers)
|
||||
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/comic-list/$page?m_orderby=latest", headers)
|
||||
}
|
||||
class MangaGG : Madara("MangaGG", "https://mangagg.com", "en")
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 41 KiB |
|
@ -1,11 +0,0 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangalibrary
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import okhttp3.Request
|
||||
|
||||
class MangaLibrary : Madara("Manga Library", "https://mangalibrary.net", "en") {
|
||||
|
||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/manga-library/$page?m_orderby=views", headers)
|
||||
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/manga-library/$page?m_orderby=latest", headers)
|
||||
}
|
|
@ -2,14 +2,8 @@ package eu.kanade.tachiyomi.extension.en.webtoon18
|
|||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import okhttp3.Request
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
@Nsfw
|
||||
class WebToon18 : Madara("WebToon18", "http://webtoon18.net", "en", dateFormat = SimpleDateFormat("d MMMM, yyyy", Locale.US)) {
|
||||
private fun pagePath(page: Int) = if (page > 1) "page/$page/" else ""
|
||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/webtoons/${pagePath(page)}?m_orderby=views", headers)
|
||||
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/webtoons/${pagePath(page)}?m_orderby=latest", headers)
|
||||
}
|
||||
class WebToon18 : Madara("WebToon18", "http://webtoon18.net", "en", dateFormat = SimpleDateFormat("d MMMM, yyyy", Locale.US))
|
||||
|
|
|
@ -146,7 +146,6 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Manga Kiss", "https://mangakiss.org", "en", overrideVersionCode = 1),
|
||||
SingleLang("Manga Land Arabic", "https://mangalandarabic.com", "ar", overrideVersionCode = 1),
|
||||
SingleLang("Manga Leveling", "https://mangaleveling.com", "en"),
|
||||
SingleLang("Manga Library", "https://mangalibrary.net", "en", overrideVersionCode = 2),
|
||||
SingleLang("Manga Lord", "https://mangalord.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Manga Mitsu", "https://mangamitsu.com", "en", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("Manga Mix", "https://mangamix.me", "ar"),
|
||||
|
@ -184,7 +183,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Manga-fast.com", "https://manga-fast.com", "en", className = "Mangafastcom", overrideVersionCode = 3),
|
||||
SingleLang("MangaFort", "https://mangafort.com", "en"),
|
||||
SingleLang("MangaFoxFull", "https://mangafoxfull.com", "en"),
|
||||
SingleLang("MangaGG", "https://mangagg.com", "en"),
|
||||
SingleLang("MangaGG", "https://mangagg.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("MangaGreat", "https://mangagreat.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("MangaHZ", "https://www.mangahz.com", "en", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("MangaKitsune", "https://mangakitsune.com", "en", isNsfw = true, overrideVersionCode = 4),
|
||||
|
@ -355,7 +354,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Wakascan", "https://wakascan.com", "fr", overrideVersionCode = 1),
|
||||
SingleLang("War Queen Scan", "https://wqscan.com.br", "pt-BR", overrideVersionCode = 4),
|
||||
SingleLang("WebNovel", "https://webnovel.live", "en", className = "WebNovelLive", overrideVersionCode = 3),
|
||||
SingleLang("WebToon18", "http://webtoon18.net", "en", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("WebToon18", "http://webtoon18.net", "en", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("WebToon69", "https://webtoon18.com", "en", isNsfw = true),
|
||||
SingleLang("WebToonily", "https://webtoonily.com", "en", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("Webtoon Hatti", "https://webtoonhatti.com/", "tr"),
|
||||
|
|
Loading…
Reference in New Issue