World Romance Translation: fix error 404 (#10249)
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 182 KiB After Width: | Height: | Size: 182 KiB |
|
@ -0,0 +1,11 @@
|
|||
package eu.kanade.tachiyomi.extension.id.worldromancetranslation
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class WorldRomanceTranslation : WPMangaReader("World Romance Translation", "https://wrt.my.id", "id", "/komik", SimpleDateFormat("MMMM dd, yyyy", Locale("id"))) {
|
||||
override val projectPageString = "/project-wrt"
|
||||
|
||||
override val hasProjectPage = true
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
package eu.kanade.tachiyomi.extension.id.worldromancetranslation
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import org.jsoup.nodes.Element
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class WorldRomanceTranslation : WPMangaStream("World Romance Translation", "https://wrt.my.id/", "id", SimpleDateFormat("MMMM dd, yyyy", Locale("id"))) {
|
||||
override val projectPageString = "/project-wrt"
|
||||
|
||||
override val hasProjectPage = true
|
||||
|
||||
override fun chapterFromElement(element: Element): SChapter {
|
||||
val urlElement = element.select(".lchx > a, span.leftoff a, div.eph-num > a").first()
|
||||
val chapter = SChapter.create()
|
||||
chapter.setUrlWithoutDomain(urlElement.attr("href"))
|
||||
chapter.name = "Chapter " + chapter.url.substringAfterLast("chapter-")
|
||||
.replace("/", "").replace("-bahasa-indonesia", "").replace("-", ".")
|
||||
chapter.date_upload = element.select("span.rightoff, time, span.chapterdate").firstOrNull()?.text()?.let { parseChapterDate(it) } ?: 0
|
||||
return chapter
|
||||
}
|
||||
}
|
|
@ -43,7 +43,8 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Fusion Scanlation", "https://fusionscanlation.com", "es", className = "FusionScanlation", overrideVersionCode = 2),
|
||||
SingleLang("Ace Scans", "https://acescans.xyz", "en", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("Silence Scan", "https://silencescan.com.br", "pt-BR", isNsfw = true, overrideVersionCode = 5),
|
||||
SingleLang("YANP Fansub", "https://yanpfansub.com", "pt-BR", isNsfw = true)
|
||||
SingleLang("YANP Fansub", "https://yanpfansub.com", "pt-BR", isNsfw = true),
|
||||
SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 6),
|
||||
)
|
||||
|
||||
companion object {
|
||||
|
|
|
@ -43,7 +43,6 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Tempest Manga", "https://manga.tempestfansub.com", "tr"),
|
||||
SingleLang("xCaliBR Scans", "https://xcalibrscans.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("NoxSubs", "https://noxsubs.com", "tr"),
|
||||
SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 4),
|
||||
SingleLang("The Apollo Team", "https://theapollo.team", "en"),
|
||||
SingleLang("Sekte Doujin", "https://sektedoujin.xyz", "id", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("Phoenix Fansub", "https://phoenixfansub.com", "es", overrideVersionCode = 1),
|
||||
|
|