[RU]LibGroup fix autch 404 (again optional url) (#17947)

This commit is contained in:
Eshlender 2023-09-15 23:58:20 +05:00 committed by GitHub
parent 5a6027d59f
commit 2811454155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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<MangasPage> {
if (csrfToken.isEmpty()) {
return client.newCall(popularMangaRequest(page))