World Romance Translation: fix cover image (#12355)
This commit is contained in:
parent
063ba1f4ca
commit
c78c099d93
|
@ -2,7 +2,7 @@ package eu.kanade.tachiyomi.extension.id.worldromancetranslation
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
|
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
|
||||||
import okhttp3.Headers
|
import okhttp3.Headers
|
||||||
import okhttp3.OkHttpClient
|
import org.jsoup.nodes.Document
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
|
@ -14,4 +14,8 @@ class WorldRomanceTranslation : WPMangaReader("World Romance Translation", "http
|
||||||
override fun headersBuilder(): Headers.Builder {
|
override fun headersBuilder(): Headers.Builder {
|
||||||
return super.headersBuilder().add("Referer", baseUrl)
|
return super.headersBuilder().add("Referer", baseUrl)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun mangaDetailsParse(document: Document) = super.mangaDetailsParse(document).apply {
|
||||||
|
thumbnail_url = document.select(seriesThumbnailSelector).attr("abs:data-lazy-src")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Skull Scans", "https://www.skullscans.com", "en", overrideVersionCode = 1),
|
SingleLang("Skull Scans", "https://www.skullscans.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Tsundoku Traduções", "https://tsundoku.com.br", "pt-BR", className = "TsundokuTraducoes", overrideVersionCode = 9),
|
SingleLang("Tsundoku Traduções", "https://tsundoku.com.br", "pt-BR", className = "TsundokuTraducoes", overrideVersionCode = 9),
|
||||||
SingleLang("TurkToon", "https://turktoon.com", "tr"),
|
SingleLang("TurkToon", "https://turktoon.com", "tr"),
|
||||||
SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 8),
|
SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 9),
|
||||||
SingleLang("ARESManga", "https://aresmanga.com", "ar", pkgName = "iimanga", overrideVersionCode = 2),
|
SingleLang("ARESManga", "https://aresmanga.com", "ar", pkgName = "iimanga", overrideVersionCode = 2),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue