parent
058d5905f0
commit
38b2fc151b
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: FoolSlide'
|
appName = 'Tachiyomi: FoolSlide'
|
||||||
pkgNameSuffix = "all.foolslide"
|
pkgNameSuffix = "all.foolslide"
|
||||||
extClass = '.FoolSlideFactory'
|
extClass = '.FoolSlideFactory'
|
||||||
extVersionCode = 8
|
extVersionCode = 9
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,8 @@ fun getAllFoolSlide(): List<Source> {
|
||||||
NieznaniReader(),
|
NieznaniReader(),
|
||||||
EvilFlowers(),
|
EvilFlowers(),
|
||||||
NaniScans(),
|
NaniScans(),
|
||||||
AkaiYuhiMunTeam()
|
AkaiYuhiMunTeam(),
|
||||||
|
LupiTeam()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -179,3 +180,24 @@ class EvilFlowers : FoolSlide("Evil Flowers", "http://reader.evilflowers.com", "
|
||||||
class NaniScans : FoolSlide("NANI? SCANS", "https://reader.naniscans.xyz", "en")
|
class NaniScans : FoolSlide("NANI? SCANS", "https://reader.naniscans.xyz", "en")
|
||||||
|
|
||||||
class AkaiYuhiMunTeam : FoolSlide("AkaiYuhiMun team", "https://akaiyuhimun.ru", "ru", "/manga")
|
class AkaiYuhiMunTeam : FoolSlide("AkaiYuhiMun team", "https://akaiyuhimun.ru", "ru", "/manga")
|
||||||
|
|
||||||
|
class LupiTeam : FoolSlide("LupiTeam", "https://lupiteam.tk", "it", "/reader") {
|
||||||
|
override fun mangaDetailsParse(document: Document): SManga {
|
||||||
|
val infoElement = document.select(mangaDetailsInfoSelector).first().text()
|
||||||
|
|
||||||
|
val manga = SManga.create()
|
||||||
|
manga.author = infoElement.substringAfter("Autore: ").substringBefore("Artista: ")
|
||||||
|
manga.artist = infoElement.substringAfter("Artista: ").substringBefore("Target: ")
|
||||||
|
val stato = infoElement.substringAfter("Stato: ").substringBefore("Trama: ").substring(0, 8)
|
||||||
|
manga.status = when (stato) {
|
||||||
|
"In corso" -> SManga.ONGOING
|
||||||
|
"Completa" -> SManga.COMPLETED
|
||||||
|
"Licenzia" -> SManga.LICENSED
|
||||||
|
else -> SManga.UNKNOWN
|
||||||
|
}
|
||||||
|
manga.description = infoElement.substringAfter("Trama: ")
|
||||||
|
manga.thumbnail_url = document.select(mangaDetailsThumbnailSelector).first()?.absUrl("src")
|
||||||
|
|
||||||
|
return manga
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue