Add OtaScans (#3280)
This commit is contained in:
parent
be806a0771
commit
81827ef0d1
|
@ -0,0 +1,10 @@
|
||||||
|
ext {
|
||||||
|
extName = 'Ota Scans'
|
||||||
|
extClass = '.OtaScans'
|
||||||
|
themePkg = 'mangathemesia'
|
||||||
|
baseUrl = 'https://yurilab.my.id'
|
||||||
|
overrideVersionCode = 0
|
||||||
|
isNsfw = true
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: "$rootDir/common.gradle"
|
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
|
@ -0,0 +1,21 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.id.otascans
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import eu.kanade.tachiyomi.source.model.Page
|
||||||
|
import org.jsoup.nodes.Document
|
||||||
|
|
||||||
|
class OtaScans : MangaThemesia(
|
||||||
|
"Ota Scans",
|
||||||
|
"https://yurilab.my.id",
|
||||||
|
"id",
|
||||||
|
) {
|
||||||
|
override val client = super.client.newBuilder()
|
||||||
|
.rateLimit(2)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
|
return super.pageListParse(document).takeIf { it.isNotEmpty() }
|
||||||
|
?: throw Exception("Maybe this content needs a password. Open in WebView")
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue