Add OtaScans (#3280)

This commit is contained in:
Chopper 2024-05-29 01:56:45 -03:00 committed by GitHub
parent c16a02dcf3
commit 476890da4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 31 additions and 0 deletions

View File

@ -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

View File

@ -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")
}
}