Migrated LupiTeam to PizzaReader (#10613)

* Migrated LupiTeam to PizzaReader

* Using icon generator
This commit is contained in:
FedericoHeichou 2022-01-31 13:12:32 +01:00 committed by GitHub
parent 8ca9524460
commit 47626ca819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 8 additions and 22 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

View File

@ -1,21 +0,0 @@
package eu.kanade.tachiyomi.extension.it.lupiteam
import eu.kanade.tachiyomi.multisrc.foolslide.FoolSlide
import eu.kanade.tachiyomi.source.model.SManga
import org.jsoup.nodes.Document
class LupiTeam : FoolSlide("LupiTeam", "https://lupiteam.net", "it", "/reader") {
override fun mangaDetailsParse(document: Document) = SManga.create().apply {
val infoElement = document.select(mangaDetailsInfoSelector).first().text()
author = infoElement.substringAfter("Autore: ").substringBefore("Artista: ")
artist = infoElement.substringAfter("Artista: ").substringBefore("Target: ")
status = when (infoElement.substringAfter("Stato: ").substringBefore("Trama: ").take(8)) {
"In corso" -> SManga.ONGOING
"Completa" -> SManga.COMPLETED
"Licenzia" -> SManga.LICENSED
else -> SManga.UNKNOWN
}
description = infoElement.substringAfter("Trama: ")
thumbnail_url = getDetailsThumbnail(document)
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

View File

@ -0,0 +1,7 @@
package eu.kanade.tachiyomi.extension.it.lupiteam
import eu.kanade.tachiyomi.multisrc.pizzareader.PizzaReader
class LupiTeam : PizzaReader("LupiTeam", "https://lupiteam.net", "it") {
override val versionId = 2
}

View File

@ -29,7 +29,6 @@ class FoolSlideGenerator : ThemeSourceGenerator {
SingleLang("Iskultrip Scans", "https://maryfaye.net", "en"),
SingleLang("Anata no Motokare", "https://motokare.xyz", "en", className = "AnataNoMotokare"),
SingleLang("Yuri-ism", "https://www.yuri-ism.net", "en", className = "YuriIsm"),
SingleLang("LupiTeam", "https://lupiteam.net", "it", overrideVersionCode = 1),
SingleLang("Zandy no Fansub", "https://zandynofansub.aishiteru.org", "en"),
SingleLang("Kirishima Fansub", "https://www.kirishimafansub.net", "es"),
SingleLang("Baixar Hentai", "https://leitura.baixarhentai.net", "pt-BR", isNsfw = true, overrideVersionCode = 3),

View File

@ -15,6 +15,7 @@ class PizzaReaderGenerator : ThemeSourceGenerator {
override val sources = listOf(
SingleLang("Phoenix Scans", "https://www.phoenixscans.com", "it", className = "PhoenixScans", overrideVersionCode = 4),
SingleLang("GTO The Great Site", "https://reader.gtothegreatsite.net", "it", className = "GTO", overrideVersionCode = 3),
SingleLang("LupiTeam", "https://lupiteam.net", "it", overrideVersionCode = 3),
)
companion object {