manganato: rename manganelo to -nato (#7257)
* renaming manganelo to -nato * oops * oops2 * oops3
|
@ -6,7 +6,7 @@ import java.text.SimpleDateFormat
|
|||
import java.util.Locale
|
||||
|
||||
class Mangakakalot : MangaBox("Mangakakalot", "https://mangakakalot.com", "en", SimpleDateFormat("MMM dd,yy", Locale.ENGLISH)) {
|
||||
override fun headersBuilder(): Headers.Builder = super.headersBuilder().set("Referer", "https://manganelo.com") // for covers
|
||||
override fun headersBuilder(): Headers.Builder = super.headersBuilder().set("Referer", "https://manganato.com") // for covers
|
||||
override val simpleQueryPath = "search/story/"
|
||||
override fun searchMangaSelector() = "${super.searchMangaSelector()}, div.list-truyen-item-wrap"
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 8.4 KiB |
|
@ -3,8 +3,12 @@ package eu.kanade.tachiyomi.extension.en.manganelo
|
|||
import eu.kanade.tachiyomi.multisrc.mangabox.MangaBox
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import okhttp3.Request
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class Manganato : MangaBox("Manganato", "https://manganato.com", "en", SimpleDateFormat("MMM dd,yy", Locale.ENGLISH)) {
|
||||
override val id: Long = 1024627298672457456
|
||||
|
||||
class Manganelo : MangaBox("Manganelo", "https://manganelo.com", "en") {
|
||||
// Nelo's date format is part of the base class
|
||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/genre-all/$page?type=topview", headers)
|
||||
override fun popularMangaSelector() = "div.content-genres-item"
|
|
@ -225,7 +225,7 @@ abstract class MangaBox(
|
|||
}?.timeInMillis
|
||||
} else {
|
||||
try {
|
||||
if (host.contains("manganelo", ignoreCase = true)) {
|
||||
if (host.contains("manganato", ignoreCase = true)) {
|
||||
// Nelo's date format
|
||||
SimpleDateFormat("MMM dd,yy", Locale.ENGLISH).parse(date)
|
||||
} else {
|
||||
|
|
|
@ -12,8 +12,8 @@ class MangaBoxGenerator : ThemeSourceGenerator {
|
|||
override val baseVersionCode: Int = 2
|
||||
|
||||
override val sources = listOf(
|
||||
SingleLang("Mangakakalot", "https://mangakakalot.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Manganelo", "https://manganelo.com", "en"),
|
||||
SingleLang("Mangakakalot", "https://mangakakalot.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("Manganato", "https://manganato.com", "en", overrideVersionCode = 1, pkgName = "manganelo"),
|
||||
SingleLang("Mangabat", "https://m.mangabat.com", "en", overrideVersionCode = 4),
|
||||
SingleLang("Mangakakalots (unoriginal)", "https://mangakakalots.com", "en", className = "Mangakakalots", pkgName = "mangakakalots"),
|
||||
SingleLang("Mangairo", "https://h.mangairo.com", "en", overrideVersionCode = 3),
|
||||
|
|