diff --git a/src/en/yaoihub/build.gradle b/src/en/yaoihub/build.gradle new file mode 100644 index 000000000..0201aecda --- /dev/null +++ b/src/en/yaoihub/build.gradle @@ -0,0 +1,10 @@ +ext { + extName = 'Yaoihub' + extClass = '.Yaoihub' + themePkg = 'madara' + baseUrl = 'https://yaoihub.com' + overrideVersionCode = 0 + isNsfw = true +} + +apply from: "$rootDir/common.gradle" diff --git a/src/en/yaoihub/res/mipmap-hdpi/ic_launcher.png b/src/en/yaoihub/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..bef7f5096 Binary files /dev/null and b/src/en/yaoihub/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/en/yaoihub/res/mipmap-mdpi/ic_launcher.png b/src/en/yaoihub/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..116681cc9 Binary files /dev/null and b/src/en/yaoihub/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/en/yaoihub/res/mipmap-xhdpi/ic_launcher.png b/src/en/yaoihub/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..15bd68ab7 Binary files /dev/null and b/src/en/yaoihub/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/en/yaoihub/res/mipmap-xxhdpi/ic_launcher.png b/src/en/yaoihub/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..d7cba4089 Binary files /dev/null and b/src/en/yaoihub/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/en/yaoihub/res/mipmap-xxxhdpi/ic_launcher.png b/src/en/yaoihub/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..2a6e0c798 Binary files /dev/null and b/src/en/yaoihub/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/en/yaoihub/src/eu/kanade/tachiyomi/extension/en/yaoihub/Yaoihub.kt b/src/en/yaoihub/src/eu/kanade/tachiyomi/extension/en/yaoihub/Yaoihub.kt new file mode 100644 index 000000000..85f18ce37 --- /dev/null +++ b/src/en/yaoihub/src/eu/kanade/tachiyomi/extension/en/yaoihub/Yaoihub.kt @@ -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 +}