PhoenixFansub: Fix manga parsing (#10338)
This commit is contained in:
parent
1b0e7466ce
commit
a9251408eb
@ -1,8 +1,6 @@
|
||||
package eu.kanade.tachiyomi.extension.es.phoenixfansub
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import org.jsoup.nodes.Element
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
@ -12,12 +10,6 @@ class PhoenixFansub : WPMangaStream(
|
||||
"es",
|
||||
SimpleDateFormat("MMM d, yyyy", Locale("es"))
|
||||
) {
|
||||
override fun popularMangaFromElement(element: Element): SManga = SManga.create().apply {
|
||||
thumbnail_url = element.select("div.limit img").imgAttr()
|
||||
element.select("div.bsx > a").first().let {
|
||||
url = "/manga/${it.attr("href")}"
|
||||
title = it.attr("title")
|
||||
}
|
||||
}
|
||||
|
||||
override val altName: String = "Nombre alternativo: "
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
|
||||
SingleLang("NoxSubs", "https://noxsubs.com", "tr"),
|
||||
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),
|
||||
SingleLang("Phoenix Fansub", "https://phoenixfansub.com", "es", overrideVersionCode = 2),
|
||||
SingleLang("Imagine Scan", "https://imaginescan.com.br", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("Vapo Scan", "https://vaposcans.com", "pt-BR", overrideVersionCode = 3),
|
||||
SingleLang("Hakai Scan", "http://hakaiscan.xyz", "pt-BR", isNsfw = true),
|
||||
|
Loading…
x
Reference in New Issue
Block a user