Traducciones Moonlight: Move to MangaThemesia (#1406)
* Move to MangaThemesia * Is NSFW
This commit is contained in:
parent
3326753fc0
commit
921649ff76
|
@ -1,9 +1,10 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Traducciones Moonlight'
|
extName = 'Traducciones Moonlight'
|
||||||
extClass = '.TraduccionesMoonlight'
|
extClass = '.TraduccionesMoonlight'
|
||||||
themePkg = 'madara'
|
themePkg = 'mangathemesia'
|
||||||
baseUrl = 'https://traduccionesmoonlight.com'
|
baseUrl = 'https://traduccionesmoonlight.com'
|
||||||
overrideVersionCode = 0
|
overrideVersionCode = 7
|
||||||
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -1,14 +1,24 @@
|
||||||
package eu.kanade.tachiyomi.extension.es.traduccionesmoonlight
|
package eu.kanade.tachiyomi.extension.es.traduccionesmoonlight
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimitHost
|
||||||
|
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
class TraduccionesMoonlight : Madara(
|
class TraduccionesMoonlight : MangaThemesia(
|
||||||
"Traducciones Moonlight",
|
"Traducciones Moonlight",
|
||||||
"https://traduccionesmoonlight.com",
|
"https://traduccionesmoonlight.com",
|
||||||
"es",
|
"es",
|
||||||
SimpleDateFormat("dd 'de' MMMM 'de' yyyy", Locale("es")),
|
dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale("es")),
|
||||||
) {
|
) {
|
||||||
override val useNewChapterEndpoint = true
|
// Site moved from Madara to MangaThemesia
|
||||||
|
override val versionId = 2
|
||||||
|
|
||||||
|
override val client = super.client.newBuilder()
|
||||||
|
.rateLimitHost(baseUrl.toHttpUrl(), 2, 1)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val seriesAuthorSelector = ".tsinfo .imptdt:contains(autor) i"
|
||||||
|
override val seriesStatusSelector = ".tsinfo .imptdt:contains(estado) i"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue