[Madara] DisasterScans: Fix manga title not appearing; add MangaWOW + MangaStream (#2471)

[Madara] DisasterScans: Fix manga title not appearing; add MangaWOW + MangaStream
This commit is contained in:
Logan B 2020-03-23 15:43:07 +13:00 committed by GitHub
parent 956e93f13f
commit 4b6e3c6309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

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

View File

@ -79,7 +79,9 @@ class MadaraFactory : SourceFactory {
ThreeSixtyFiveManga(),
DisasterScans(),
MangaKiss(),
MangaDods()
MangaDods(),
MangaWOW(),
MangaStream()
)
}
@ -415,7 +417,7 @@ class TeabeerComics : Madara("Teabeer Comics", "https://teabeercomics.com", "en"
class KingzManga : Madara("KingzManga", "https://kingzmanga.com", "ar")
class YaoiToshokan : Madara("Yaoi Toshokan", "https://www.yaoitoshokan.com.br", "pt-BR") {
override val popularMangaUrlSelector = "div.post-title a:not([target])" //Page has custum link to scan website
override val popularMangaUrlSelector = "div.post-title a:not([target])" //Page has custom link to scan website
override fun chapterListParse(response: Response): List<SChapter> { //Chapters are listed old to new
return super.chapterListParse(response).reversed()
}
@ -473,7 +475,9 @@ class ThreeSixtyFiveManga: Madara("365Manga","https://365manga.com","en") {
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/manga/page/$page/?m_orderby=latest", headers)
}
class DisasterScans: Madara("Disaster Scans","https://disasterscans.com","en")
class DisasterScans: Madara("Disaster Scans","https://disasterscans.com","en") {
override val popularMangaUrlSelector = "div.post-title a:last-child"
}
class MangaKiss: Madara("MangaKiss", "https://mangakiss.org", "en", SimpleDateFormat("dd/MM/yyyy", Locale.US)) {
override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl)
@ -481,3 +485,7 @@ class MangaKiss: Madara("MangaKiss", "https://mangakiss.org", "en", SimpleDateFo
class MangaDods: Madara("MangaDods", "https://www.mangadods.com", "en", SimpleDateFormat("dd/MM/yyyy", Locale.US))
class MangaWOW: Madara("MangaWOW", "https://mangawow.com", "tr")
class MangaStream: Madara("MangaStream", "https://www.mangastream.cc", "en")