Change Manga Arab Team url (#3837)

* Change Manga Arab Team url

* Update build.gradle

* Add AkuManga, AsgardTeam, Hiperdex search fix

Co-authored-by: snakedoc83 <mikepeterson83@gmail.com>
This commit is contained in:
AbdullahM0hamed 2020-07-18 20:19:15 +01:00 committed by GitHub
parent c0d4915d1e
commit be3a2b2a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Madara (multiple sources)'
pkgNameSuffix = "all.madara"
extClass = '.MadaraFactory'
extVersionCode = 118
extVersionCode = 119
libVersion = '1.2'
}

View File

@ -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")