[RU]LibGroup fix autch 404 (again optional url) (#17947)
This commit is contained in:
parent
5a6027d59f
commit
2811454155
|
@ -9,7 +9,7 @@ class LibGenerator : ThemeSourceGenerator {
|
||||||
|
|
||||||
override val themeClass = "LibGroup"
|
override val themeClass = "LibGroup"
|
||||||
|
|
||||||
override val baseVersionCode: Int = 22
|
override val baseVersionCode: Int = 23
|
||||||
|
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("MangaLib", "https://mangalib.me", "ru", overrideVersionCode = 74),
|
SingleLang("MangaLib", "https://mangalib.me", "ru", overrideVersionCode = 74),
|
||||||
|
|
|
@ -146,7 +146,7 @@ abstract class LibGroup(
|
||||||
popularMangaParse(response)
|
popularMangaParse(response)
|
||||||
|
|
||||||
// Popular
|
// 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> {
|
override fun fetchPopularManga(page: Int): Observable<MangasPage> {
|
||||||
if (csrfToken.isEmpty()) {
|
if (csrfToken.isEmpty()) {
|
||||||
return client.newCall(popularMangaRequest(page))
|
return client.newCall(popularMangaRequest(page))
|
||||||
|
|
Loading…
Reference in New Issue