Fix missing chapters in DS. (#9384)

This commit is contained in:
Alessandro Jean 2021-10-06 17:15:21 -03:00 committed by GitHub
parent cdb230338b
commit 0d0f6b5b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -20,7 +20,13 @@ class DropeScan : Madara(
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS)) .addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
.build() .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)
} }

View File

@ -72,7 +72,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("DoujinHentai", "https://doujinhentai.net", "es", isNsfw = true, overrideVersionCode = 1), SingleLang("DoujinHentai", "https://doujinhentai.net", "es", isNsfw = true, overrideVersionCode = 1),
SingleLang("DragonTea", "https://dragontea.ink", "en", overrideVersionCode = 3), SingleLang("DragonTea", "https://dragontea.ink", "en", overrideVersionCode = 3),
SingleLang("Dream Manga", "https://en.ruyamanga.com", "en", overrideVersionCode = 2), 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("Dream Union Scan", "https://www.dreamunionscan.com", "pt-BR", overrideVersionCode = 1),
SingleLang("EGY Manga", "https://egymanga.net", "ar"), SingleLang("EGY Manga", "https://egymanga.net", "ar"),
SingleLang("Esomanga", "http://esomanga.com", "tr"), SingleLang("Esomanga", "http://esomanga.com", "tr"),