add yaoihub (#3252)

* add yaoihub

* updated icon (ty vetleledaal)
This commit is contained in:
kana-shii 2024-05-27 06:09:39 -03:00 committed by GitHub
parent 8dde53ea23
commit bd9bdacabe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 25 additions and 0 deletions

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -0,0 +1,15 @@
package eu.kanade.tachiyomi.extension.en.yaoihub
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
class Yaoihub : Madara("Yaoihub", "https://yaoihub.com", "en") {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.build()
override val useNewChapterEndpoint = true
}