From be3a2b2a894111716282d3bbe32515a222b13611 Mon Sep 17 00:00:00 2001 From: AbdullahM0hamed <25087116+AbdullahM0hamed@users.noreply.github.com> Date: Sat, 18 Jul 2020 20:19:15 +0100 Subject: [PATCH] Change Manga Arab Team url (#3837) * Change Manga Arab Team url * Update build.gradle * Add AkuManga, AsgardTeam, Hiperdex search fix Co-authored-by: snakedoc83 --- src/all/madara/build.gradle | 2 +- .../tachiyomi/extension/all/madara/MadaraFactory.kt | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/all/madara/build.gradle b/src/all/madara/build.gradle index a6edcba59..1f77be2d8 100644 --- a/src/all/madara/build.gradle +++ b/src/all/madara/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Madara (multiple sources)' pkgNameSuffix = "all.madara" extClass = '.MadaraFactory' - extVersionCode = 118 + extVersionCode = 119 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 abe5d2839..25acb7c2b 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 @@ -155,7 +155,9 @@ class MadaraFactory : SourceFactory { ToonPoint(), MangaScantrad(), ManhuaPlus(), - TritiniaScans() + TritiniaScans(), + AkuManga(), + AsgardTeam() // Removed by request of site owner // EarlyManga(), // MangaGecesi(), @@ -478,6 +480,7 @@ class Milftoon : Madara("Milftoon", "https://milftoon.xxx", "en") { } class Hiperdex : Madara("Hiperdex", "https://hiperdex.com", "en") { + override fun searchMangaNextPageSelector() = "${super.searchMangaNextPageSelector()}, a.nextpostslink" override fun getGenreList() = listOf( Genre("Adult", "adult"), Genre("Action", "action"), @@ -626,7 +629,7 @@ class HunterFansub : Madara("Hunter Fansub", "https://hunterfansub.com", "es") { override val popularMangaUrlSelector = "div.post-title a:last-child" } -class MangaArabTeam : Madara("مانجا عرب تيم Manga Arab Team", "https://mangaarabteam.com", "ar") { +class MangaArabTeam : Madara("مانجا عرب تيم Manga Arab Team", "https://mangaarabtm.com", "ar") { override fun imageRequest(page: Page): Request { return GET(page.imageUrl!!.replace("http:", "https:")) } @@ -961,7 +964,7 @@ class WeScans : Madara("WeScans", "https://wescans.xyz", "en") { override fun getFilterList(): FilterList = FilterList() } -class ArangScans : Madara("Arang Scans", "https://www.arangscans.com", "en") { +class ArangScans : Madara("Arang Scans", "https://www.arangscans.com", "en", SimpleDateFormat("d MMM yyyy", Locale.US)) { // has very few manga override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/manga?m_orderby=views", headers) override fun popularMangaNextPageSelector(): String? = null @@ -1194,3 +1197,7 @@ class MangaScantrad : Madara("Manga-Scantrad", "https://manga-scantrad.net", "fr class ManhuaPlus : Madara("Manhua Plus", "https://manhuaplus.com", "en") { override val pageListParseSelector = "li.blocks-gallery-item" } + +class AkuManga : Madara("AkuManga", "https://akumanga.com", "ar") + +class AsgardTeam : Madara("Asgard Team", "https://www.asgard1team.com", "ar")