PhoenixFansub: Fix manga parsing (#10338)

This commit is contained in:
Troy121 2022-01-04 20:56:07 +01:00 committed by GitHub
parent 1b0e7466ce
commit a9251408eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View File

@ -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: "
}

View File

@ -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),