Move Aiyumanga to ZeistManga (#18104)

* Move AiYuManga

* Remove log

* Opps
This commit is contained in:
bapeey 2023-09-23 17:56:05 -05:00 committed by GitHub
parent 2237ef17bd
commit d6a4ff94c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 24 additions and 18 deletions

View File

@ -1,17 +0,0 @@
package eu.kanade.tachiyomi.extension.es.aiyumanga
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class AiYuManga : Madara(
"AiYuManga",
"https://aiyumanga.com",
"es",
SimpleDateFormat("MM/dd/yyyy", Locale("es")),
) {
override val useNewChapterEndpoint = true
override val chapterUrlSuffix = ""
override val mangaDetailsSelectorStatus = "div.post-content_item:contains(Status) > div.summary-content"
}

View File

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 280 KiB

After

Width:  |  Height:  |  Size: 280 KiB

View File

@ -0,0 +1,23 @@
package eu.kanade.tachiyomi.extension.es.aiyumanga
import eu.kanade.tachiyomi.multisrc.zeistmanga.ZeistManga
import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.tachiyomi.util.asJsoup
import okhttp3.Response
class AiYuManga : ZeistManga("AiYuManga", "https://www.aiyumanhua.com", "es") {
// Site moved from Madara to ZeistManga
override val versionId = 2
override fun mangaDetailsParse(response: Response): SManga {
val document = response.asJsoup()
val profileManga = document.selectFirst("header > div.max-w-screen-xl")!!
return SManga.create().apply {
thumbnail_url = profileManga.selectFirst("img")!!.attr("abs:src")
description = document.select("div#synopsis > p").text()
}
}
override val pageListSelector = "article.chapter div.separator"
}

View File

@ -26,7 +26,6 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("365Manga", "https://365manga.com", "en", className = "ThreeSixtyFiveManga", overrideVersionCode = 1),
SingleLang("Adonis Fansub", "https://manga.adonisfansub.com", "tr", overrideVersionCode = 1),
SingleLang("Adult Webtoon", "https://adultwebtoon.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("AiYuManga", "https://aiyumanga.com", "es", isNsfw = true, overrideVersionCode = 2),
SingleLang("Akuma no Tenshi", "https://akumanotenshi.com", "pt-BR", className = "AkumaNoTenshi"),
SingleLang("AkuManga", "https://akumanga.com", "ar", overrideVersionCode = 1),
SingleLang("Akuzenai Arts", "https://akuzenaiarts.org", "en"),

View File

@ -12,6 +12,7 @@ class ZeistMangaGenerator : ThemeSourceGenerator {
override val baseVersionCode: Int = 7
override val sources = listOf(
SingleLang("AiYuManga", "https://www.aiyumanhua.com", "es", overrideVersionCode = 27),
SingleLang("Asupan Komik", "https://www.asupankomik.my.id", "id", overrideVersionCode = 1),
SingleLang("DatGarScanlation", "https://datgarscanlation.blogspot.com", "es"),
SingleLang("Hijala", "https://hijala.blogspot.com", "ar"),