AstralLibrary: remove reverse chapter order (#6389)

This commit is contained in:
Riztard Lanthorn 2021-04-02 19:51:03 +07:00 committed by GitHub
parent 8c601844d5
commit 0bb80223c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -2,14 +2,11 @@ package eu.kanade.tachiyomi.extension.en.astrallibrary
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.SChapter
import okhttp3.Request
import okhttp3.Response
import java.text.SimpleDateFormat
import java.util.Locale
class AstralLibrary : Madara("Astral Library", "https://www.astrallibrary.net", "en", SimpleDateFormat("d MMM", Locale.US)) {
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).reversed()
override fun popularMangaRequest(page: Int): Request {
return GET("$baseUrl/manga-tag/manga/?m_orderby=views&page=$page", headers)
}

View File

@ -25,7 +25,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("ArazNovel", "https://www.araznovel.com", "tr"),
SingleLang("Argos Scan", "https://argosscan.com", "pt-BR"),
SingleLang("Asgard Team", "https://www.asgard1team.com", "ar"),
SingleLang("Astral Library", "https://www.astrallibrary.net", "en"),
SingleLang("Astral Library", "https://www.astrallibrary.net", "en", overrideVersionCode = 1),
SingleLang("Atikrost", "https://atikrost.com", "tr"),
SingleLang("ATM-Subs", "https://atm-subs.fr", "fr", className = "ATMSubs"),
SingleLang("AYATOON", "https://ayatoon.com", "tr"),