From 0d0f6b5b76f0ecf05171f887ffa5d2d93cdc2067 Mon Sep 17 00:00:00 2001 From: Alessandro Jean Date: Wed, 6 Oct 2021 17:15:21 -0300 Subject: [PATCH] Fix missing chapters in DS. (#9384) --- multisrc/overrides/madara/dropescan/src/DropeScan.kt | 10 ++++++++-- .../tachiyomi/multisrc/madara/MadaraGenerator.kt | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/multisrc/overrides/madara/dropescan/src/DropeScan.kt b/multisrc/overrides/madara/dropescan/src/DropeScan.kt index b156a1080..8b2a9711c 100644 --- a/multisrc/overrides/madara/dropescan/src/DropeScan.kt +++ b/multisrc/overrides/madara/dropescan/src/DropeScan.kt @@ -20,7 +20,13 @@ class DropeScan : Madara( .addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS)) .build() - override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/manga/page/$page/?m_orderby=views", headers) + override val useNewChapterEndpoint = true - override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/manga/page/$page/?m_orderby=latest", headers) + override val altName = "Nome alternativo: " + + override fun popularMangaRequest(page: Int): Request = + GET("$baseUrl/manga/page/$page/?m_orderby=views", headers) + + override fun latestUpdatesRequest(page: Int): Request = + GET("$baseUrl/manga/page/$page/?m_orderby=latest", headers) } diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index ecb5e4bcb..0c2c71f02 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -72,7 +72,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("DoujinHentai", "https://doujinhentai.net", "es", isNsfw = true, overrideVersionCode = 1), SingleLang("DragonTea", "https://dragontea.ink", "en", overrideVersionCode = 3), SingleLang("Dream Manga", "https://en.ruyamanga.com", "en", overrideVersionCode = 2), - SingleLang("Drope Scan", "https://dropescan.com", "pt-BR", overrideVersionCode = 3), + SingleLang("Drope Scan", "https://dropescan.com", "pt-BR", overrideVersionCode = 4), SingleLang("Dream Union Scan", "https://www.dreamunionscan.com", "pt-BR", overrideVersionCode = 1), SingleLang("EGY Manga", "https://egymanga.net", "ar"), SingleLang("Esomanga", "http://esomanga.com", "tr"),