From 9fddb053d16fc4c0aa40a3c369cd4daa46556b3c Mon Sep 17 00:00:00 2001 From: Mike <51273546+SnakeDoc83@users.noreply.github.com> Date: Mon, 27 Apr 2020 21:15:03 -0400 Subject: [PATCH] Madara - add MangaRockTeam (#2891) Madara - add MangaRockTeam --- src/all/madara/build.gradle | 2 +- .../kanade/tachiyomi/extension/all/madara/MadaraFactory.kt | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/all/madara/build.gradle b/src/all/madara/build.gradle index c7be2d204..870da97b2 100644 --- a/src/all/madara/build.gradle +++ b/src/all/madara/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Madara (multiple sources)' pkgNameSuffix = "all.madara" extClass = '.MadaraFactory' - extVersionCode = 80 + extVersionCode = 81 libVersion = '1.2' } diff --git a/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt b/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt index 513b1c030..a0b587de7 100644 --- a/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt +++ b/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt @@ -107,7 +107,8 @@ class MadaraFactory : SourceFactory { MangaGecesi(), MangaWT(), DecadenceScans(), - MangaStein() + MangaStein(), + MangaRockTeam() ) } @@ -403,7 +404,7 @@ class DoujinHentai : Madara("DoujinHentai", "https://doujinhentai.net", "es", Si class Azora : Madara("Azora", "https://www.azoramanga.com", "ar") { override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/page/$page/?m_orderby=views", headers) - override fun chapterListSelector() = "li.wp-manga-chapter:not(:has(img))" // Filter fake chapters + override fun chapterListSelector() = "li.wp-manga-chapter:not(.premium-block)" // Filter fake chapters override fun chapterFromElement(element: Element): SChapter { val chapter = SChapter.create() @@ -580,3 +581,5 @@ class MangaWT : Madara("MangaWT", "https://mangawt.com", "tr") class DecadenceScans : Madara("Decadence Scans", "https://reader.decadencescans.com", "en") class MangaStein : Madara("MangaStein", "https://mangastein.com", "tr") + +class MangaRockTeam : Madara("Manga Rock Team", "https://mangarockteam.com", "en")