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:
Smol Ame 2024-09-13 23:01:06 -07:00 committed by Draff
parent b7a770367b
commit d1c75db514
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
8 changed files with 38 additions and 1 deletions

View File

@ -622,7 +622,7 @@ abstract class Madara(
"OnGoing", "Продолжается", "Updating", "Em Lançamento", "Em lançamento", "Em andamento", "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", "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", "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", "Đang làm", "Em postagem", "Devam Eden", "Em progresso", "Em curso",
) )

View File

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

View File

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