Add Bega Translation (#5027)
* Madara: Add "Publicándose" to Ongoing, bumped `baseVersionCode` * Add Bega Translation * Bega Translation: Use `newChapterEndpoint` (hopefully) * Bega Translation: Override override to "series" * Madara: Unbump versionCode * Bega Translation: Use HD covers
This commit is contained in:
parent
b7a770367b
commit
d1c75db514
|
@ -622,7 +622,7 @@ abstract class Madara(
|
|||
"OnGoing", "Продолжается", "Updating", "Em Lançamento", "Em lançamento", "Em andamento",
|
||||
"Em Andamento", "En cours", "En Cours", "En cours de publication", "Ativo", "Lançando", "Đang Tiến Hành", "Devam Ediyor",
|
||||
"Devam ediyor", "In Corso", "In Arrivo", "مستمرة", "مستمر", "En Curso", "En curso", "Emision",
|
||||
"Curso", "En marcha", "Publicandose", "En emision", "连载中", "Em Lançamento", "Devam Ediyo",
|
||||
"Curso", "En marcha", "Publicandose", "Publicándose", "En emision", "连载中", "Em Lançamento", "Devam Ediyo",
|
||||
"Đang làm", "Em postagem", "Devam Eden", "Em progresso", "Em curso",
|
||||
)
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
ext {
|
||||
extName = 'Bega Translation'
|
||||
extClass = '.BegaTranslation'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://begatranslation.com'
|
||||
overrideVersionCode = 0
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
|
@ -0,0 +1,28 @@
|
|||
package eu.kanade.tachiyomi.extension.es.begatranslation
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import org.jsoup.nodes.Element
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class BegaTranslation : Madara(
|
||||
"Bega Translation",
|
||||
"https://begatranslation.com",
|
||||
"es",
|
||||
SimpleDateFormat("dd/MM/yyyy", Locale.ROOT),
|
||||
) {
|
||||
override val useNewChapterEndpoint = true
|
||||
override val mangaSubString = "series"
|
||||
|
||||
override fun popularMangaFromElement(element: Element): SManga {
|
||||
return super.popularMangaFromElement(element).apply {
|
||||
thumbnail_url = thumbnail_url?.replaceFirst("-175x238", "")
|
||||
}
|
||||
}
|
||||
override fun searchMangaFromElement(element: Element): SManga {
|
||||
return super.searchMangaFromElement(element).apply {
|
||||
thumbnail_url = thumbnail_url?.replaceFirst("-193x278", "")
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue