mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
parent
8dde53ea23
commit
bd9bdacabe
10
src/en/yaoihub/build.gradle
Normal file
10
src/en/yaoihub/build.gradle
Normal 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"
|
BIN
src/en/yaoihub/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/en/yaoihub/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
BIN
src/en/yaoihub/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/en/yaoihub/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
BIN
src/en/yaoihub/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/en/yaoihub/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
src/en/yaoihub/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/en/yaoihub/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
src/en/yaoihub/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/en/yaoihub/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user