Madara - add MangaRockTeam (#2891)

Madara - add MangaRockTeam
This commit is contained in:
Mike 2020-04-27 21:15:03 -04:00 committed by GitHub
parent 4f8851d8be
commit 9fddb053d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Madara (multiple sources)'
pkgNameSuffix = "all.madara"
extClass = '.MadaraFactory'
extVersionCode = 80
extVersionCode = 81
libVersion = '1.2'
}

View File

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