Initial commit

This commit is contained in:
FourTOne5
2024-01-09 04:12:39 +06:00
commit 600c345dfe
8593 changed files with 150590 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

View File

@@ -0,0 +1,34 @@
package eu.kanade.tachiyomi.extension.en.manhuaes
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.util.asJsoup
import okhttp3.Response
class ManhuaES : Madara("Manhua ES", "https://manhuaes.com", "en") {
// The website does not flag the content.
override val filterNonMangaItems = false
override fun chapterListParse(response: Response): List<SChapter> {
var chapterList = super.chapterListParse(response)
// the site adds a ghost chapter for some entries
chapterList.firstOrNull()?.let {
if (!isReleasedChapter(it)) {
chapterList = chapterList.subList(1, chapterList.size)
}
}
return chapterList
}
private fun isReleasedChapter(chapter: SChapter): Boolean {
val document = client.newCall(
GET(chapter.url, headersBuilder().build()),
).execute().asJsoup()
return document.select(pageListParseSelector).isNotEmpty()
}
}