parent
2860c07078
commit
d55b796c50
Binary file not shown.
Before Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
Binary file not shown.
Before Width: | Height: | Size: 23 KiB |
|
@ -1,30 +0,0 @@
|
||||||
package eu.kanade.tachiyomi.extension.id.worldromancetranslation
|
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
|
||||||
import eu.kanade.tachiyomi.source.model.SManga
|
|
||||||
import org.jsoup.nodes.Document
|
|
||||||
import java.text.SimpleDateFormat
|
|
||||||
import java.util.Locale
|
|
||||||
|
|
||||||
class WorldRomanceTranslation : MangaThemesia(
|
|
||||||
"World Romance Translation",
|
|
||||||
"https://wrt.my.id",
|
|
||||||
"id",
|
|
||||||
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("id")),
|
|
||||||
) {
|
|
||||||
override val projectPageString = "/project-wrt"
|
|
||||||
|
|
||||||
override val hasProjectPage = true
|
|
||||||
|
|
||||||
override fun mangaDetailsParse(document: Document): SManga {
|
|
||||||
val thumbnail = document.select(seriesThumbnailSelector)
|
|
||||||
|
|
||||||
return super.mangaDetailsParse(document).apply {
|
|
||||||
thumbnail_url = when {
|
|
||||||
thumbnail.hasAttr("data-lazy-src") -> thumbnail.attr("abs:data-lazy-src") // lazyload
|
|
||||||
thumbnail.hasAttr("data-src") -> thumbnail.attr("abs:data-src") // with javascript
|
|
||||||
else -> thumbnail.attr("src")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -161,7 +161,6 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("VF Scan", "https://www.vfscan.cc", "fr"),
|
SingleLang("VF Scan", "https://www.vfscan.cc", "fr"),
|
||||||
SingleLang("Walpurgi Scan", "https://www.walpurgiscan.it", "it", overrideVersionCode = 7, className = "WalpurgisScan"),
|
SingleLang("Walpurgi Scan", "https://www.walpurgiscan.it", "it", overrideVersionCode = 7, className = "WalpurgisScan"),
|
||||||
SingleLang("West Manga", "https://westmanga.fun", "id", overrideVersionCode = 3),
|
SingleLang("West Manga", "https://westmanga.fun", "id", overrideVersionCode = 3),
|
||||||
SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 11),
|
|
||||||
SingleLang("xCaliBR Scans", "https://xcalibrscans.com", "en", overrideVersionCode = 5),
|
SingleLang("xCaliBR Scans", "https://xcalibrscans.com", "en", overrideVersionCode = 5),
|
||||||
SingleLang("YumeKomik", "https://yumekomik.com", "id", isNsfw = true, className = "YumeKomik", pkgName = "inazumanga", overrideVersionCode = 6),
|
SingleLang("YumeKomik", "https://yumekomik.com", "id", isNsfw = true, className = "YumeKomik", pkgName = "inazumanga", overrideVersionCode = 6),
|
||||||
SingleLang("Zahard", "https://zahard.xyz", "en"),
|
SingleLang("Zahard", "https://zahard.xyz", "en"),
|
||||||
|
|
Loading…
Reference in New Issue