[RU]YaoiLib new domain (#15297)

This commit is contained in:
Eshlender 2023-02-11 00:08:49 +05:00 committed by GitHub
parent 25d2372531
commit 7ee6d834d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
<!-- LibUrlActivity sites can be added here. --> <!-- LibUrlActivity sites can be added here. -->
<data <data
android:host="yaoilib.me" android:host="v1.yaoilib.net"
android:pathPattern="/..*/v..*" android:pathPattern="/..*/v..*"
android:scheme="https" /> android:scheme="https" />
</intent-filter> </intent-filter>

View File

@ -8,7 +8,7 @@ import okhttp3.Headers
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import okhttp3.Request import okhttp3.Request
class YaoiLib : LibGroup("YaoiLib", "https://yaoilib.me", "ru") { class YaoiLib : LibGroup("YaoiLib", "https://v1.yaoilib.net", "ru") {
override val client: OkHttpClient = super.client.newBuilder() override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor(::imageContentTypeIntercept) .addInterceptor(::imageContentTypeIntercept)

View File

@ -14,7 +14,7 @@ class LibGenerator : ThemeSourceGenerator {
override val sources = listOf( override val sources = listOf(
SingleLang("MangaLib", "https://mangalib.me", "ru", overrideVersionCode = 74), SingleLang("MangaLib", "https://mangalib.me", "ru", overrideVersionCode = 74),
SingleLang("HentaiLib", "https://hentailib.me", "ru", isNsfw = true, overrideVersionCode = 19), SingleLang("HentaiLib", "https://hentailib.me", "ru", isNsfw = true, overrideVersionCode = 19),
SingleLang("YaoiLib", "https://yaoilib.me", "ru", isNsfw = true, overrideVersionCode = 1) SingleLang("YaoiLib", "https://v1.yaoilib.net", "ru", isNsfw = true, overrideVersionCode = 2)
) )
companion object { companion object {