This commit is contained in:
Vetle Ledaal 2024-06-06 07:35:04 +01:00 committed by Draff
parent 163cb85833
commit b58cbfae1d
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 48 additions and 0 deletions

10
src/en/aisha/build.gradle Normal file
View File

@ -0,0 +1,10 @@
ext {
extName = 'Aisha'
extClass = '.Aisha'
themePkg = 'madara'
baseUrl = 'https://aisha.manhuaen.com'
overrideVersionCode = 0
isNsfw = false
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -0,0 +1,38 @@
package eu.kanade.tachiyomi.extension.en.aisha
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.source.model.SManga
import rx.Observable
class Aisha : Madara(
"Aisha",
"https://aisha.manhuaen.com",
"en",
) {
override val supportsLatest = false
override val useNewChapterEndpoint = true
override fun fetchSearchManga(
page: Int,
query: String,
filters: FilterList,
): Observable<MangasPage> {
return fetchPopularManga(page)
}
override fun fetchPopularManga(page: Int): Observable<MangasPage> {
val manga = SManga.create().apply {
setUrlWithoutDomain("$baseUrl/manhua/aisha/")
title = "Aisha"
thumbnail_url = "$baseUrl/wp-content/uploads/2022/10/cover.jpg.webp"
}
return Observable.just(MangasPage(listOf(manga), false))
}
override fun getFilterList(): FilterList {
return FilterList()
}
}