From 28114541559825834d30d2fddb65311dc523c48b Mon Sep 17 00:00:00 2001 From: Eshlender <35057681+e-shl@users.noreply.github.com> Date: Fri, 15 Sep 2023 23:58:20 +0500 Subject: [PATCH] [RU]LibGroup fix autch 404 (again optional url) (#17947) --- .../java/eu/kanade/tachiyomi/multisrc/libgroup/LibGenerator.kt | 2 +- .../main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGroup.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGenerator.kt index 37628a475..bc664b938 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGenerator.kt @@ -9,7 +9,7 @@ class LibGenerator : ThemeSourceGenerator { override val themeClass = "LibGroup" - override val baseVersionCode: Int = 22 + override val baseVersionCode: Int = 23 override val sources = listOf( SingleLang("MangaLib", "https://mangalib.me", "ru", overrideVersionCode = 74), diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGroup.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGroup.kt index 3a316b15f..8dfe01634 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGroup.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGroup.kt @@ -146,7 +146,7 @@ abstract class LibGroup( popularMangaParse(response) // Popular - override fun popularMangaRequest(page: Int) = GET("$baseUrl/?section=home-updates", headers) + override fun popularMangaRequest(page: Int) = GET(baseUrl, headers) override fun fetchPopularManga(page: Int): Observable { if (csrfToken.isEmpty()) { return client.newCall(popularMangaRequest(page))