Add YaoiManga (#5585)
This commit is contained in:
parent
1290a32547
commit
d2d69b3dcf
|
@ -0,0 +1,10 @@
|
||||||
|
ext {
|
||||||
|
extName = 'Yaoi Manga'
|
||||||
|
extClass = '.YaoiManga'
|
||||||
|
themePkg = 'madara'
|
||||||
|
baseUrl = 'https://yaoimanga.es'
|
||||||
|
overrideVersionCode = 0
|
||||||
|
isNsfw = true
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: "$rootDir/common.gradle"
|
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
|
@ -0,0 +1,20 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.es.yaoimanga
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
|
||||||
|
class YaoiManga : Madara(
|
||||||
|
"Yaoi Manga",
|
||||||
|
"https://yaoimanga.es",
|
||||||
|
"es",
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(3)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
|
||||||
|
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||||
|
}
|
Loading…
Reference in New Issue