Add Aisha (#3431)
This commit is contained in:
parent
163cb85833
commit
b58cbfae1d
|
@ -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 |
|
@ -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()
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue