parent
695854722a
commit
7c00d1e696
5 changed files with 12 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Pelisplushd'
|
extName = 'Pelisplushd'
|
||||||
extClass = '.PelisplushdFactory'
|
extClass = '.PelisplushdFactory'
|
||||||
extVersionCode = 59
|
extVersionCode = 60
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -39,6 +39,8 @@ import uy.kohesive.injekt.api.get
|
||||||
|
|
||||||
open class Pelisplushd(override val name: String, override val baseUrl: String) : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
open class Pelisplushd(override val name: String, override val baseUrl: String) : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
|
||||||
|
|
||||||
|
override val id: Long = 1400819034564144238L
|
||||||
|
|
||||||
override val lang = "es"
|
override val lang = "es"
|
||||||
|
|
||||||
override val supportsLatest = false
|
override val supportsLatest = false
|
||||||
|
|
|
@ -7,6 +7,6 @@ class PelisplushdFactory : AnimeSourceFactory {
|
||||||
override fun createSources(): List<AnimeSource> = listOf(
|
override fun createSources(): List<AnimeSource> = listOf(
|
||||||
Pelisplushd("PelisPlusHD", "https://pelisplushd.bz"),
|
Pelisplushd("PelisPlusHD", "https://pelisplushd.bz"),
|
||||||
Pelisplusto("PelisPlusTo", "https://ww3.pelisplus.to"),
|
Pelisplusto("PelisPlusTo", "https://ww3.pelisplus.to"),
|
||||||
Pelisplusph("PelisPlusPh", "https://www.pelisplushd.ph"),
|
Pelisplusph("PelisPlusPh", "https://ww5.pelisplushd.pe"),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,8 @@ import org.jsoup.nodes.Element
|
||||||
|
|
||||||
class Pelisplusph(override val name: String, override val baseUrl: String) : Pelisplushd(name, baseUrl) {
|
class Pelisplusph(override val name: String, override val baseUrl: String) : Pelisplushd(name, baseUrl) {
|
||||||
|
|
||||||
|
override val id: Long = 4917265654298497443L
|
||||||
|
|
||||||
override val supportsLatest = false
|
override val supportsLatest = false
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
@ -52,7 +54,7 @@ class Pelisplusph(override val name: String, override val baseUrl: String) : Pel
|
||||||
anime.title = document.selectFirst(".info-content h1")!!.text()
|
anime.title = document.selectFirst(".info-content h1")!!.text()
|
||||||
document.select(".info-content p").map { p ->
|
document.select(".info-content p").map { p ->
|
||||||
if (p.select(".content-type").text().contains("Sinópsis:")) {
|
if (p.select(".content-type").text().contains("Sinópsis:")) {
|
||||||
anime.description = p.select(".sinopsis")!!.text()
|
anime.description = p.select(".sinopsis").text()
|
||||||
}
|
}
|
||||||
if (p.select(".content-type").text().contains("Géneros:")) {
|
if (p.select(".content-type").text().contains("Géneros:")) {
|
||||||
anime.genre = p.select(".content-type-a a").joinToString { it.text() }
|
anime.genre = p.select(".content-type-a a").joinToString { it.text() }
|
||||||
|
@ -60,6 +62,9 @@ class Pelisplusph(override val name: String, override val baseUrl: String) : Pel
|
||||||
if (p.select(".content-type").text().contains("Reparto:")) {
|
if (p.select(".content-type").text().contains("Reparto:")) {
|
||||||
anime.artist = p.select(".content-type ~ span").text().substringBefore(",")
|
anime.artist = p.select(".content-type ~ span").text().substringBefore(",")
|
||||||
}
|
}
|
||||||
|
if (p.select(".content-type").text().contains("Actores:")) {
|
||||||
|
anime.artist = p.select(".content-type ~ span").text().substringBefore(",")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
anime.status =
|
anime.status =
|
||||||
if (document.location().contains("/serie/")) SAnime.UNKNOWN else SAnime.COMPLETED
|
if (document.location().contains("/serie/")) SAnime.UNKNOWN else SAnime.COMPLETED
|
||||||
|
|
|
@ -23,6 +23,8 @@ import uy.kohesive.injekt.injectLazy
|
||||||
|
|
||||||
class Pelisplusto(override val name: String, override val baseUrl: String) : Pelisplushd(name, baseUrl) {
|
class Pelisplusto(override val name: String, override val baseUrl: String) : Pelisplushd(name, baseUrl) {
|
||||||
|
|
||||||
|
override val id: Long = 1705636111422561130L
|
||||||
|
|
||||||
private val json: Json by injectLazy()
|
private val json: Json by injectLazy()
|
||||||
|
|
||||||
override val supportsLatest = false
|
override val supportsLatest = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue