diff --git a/src/all/madara/build.gradle b/src/all/madara/build.gradle index 747bf9282..8ec00a105 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 = 158 + extVersionCode = 159 libVersion = '1.2' containsNsfw = true } 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 389ca7b04..e3d3e50ed 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 @@ -39,6 +39,7 @@ class MadaraFactory : SourceFactory { ArazNovel(), AsgardTeam(), AstralLibrary(), + Atikrost(), Azora(), Bakaman(), BestManga(), @@ -168,11 +169,13 @@ class MadaraFactory : SourceFactory { PrimeManga(), QueensManga(), RaiderScans(), + RandomTranslations(), ReadManhua(), RenaScans(), RuyaManga(), S2Manga(), - Skymanga(), + SpookyScanlations(), + StageComics(), TheTopComic(), ThreeSixtyFiveManga(), ToonPoint(), @@ -218,6 +221,24 @@ class MadaraFactory : SourceFactory { ) } +class StageComics : Madara("StageComics", "https://stagecomics.com", "pt-BR", SimpleDateFormat("MMMM dd, yyyy", Locale("pt"))) { + override fun chapterFromElement(element: Element): SChapter { + val parsedChapter = super.chapterFromElement(element) + + parsedChapter.date_upload = element.select("img").firstOrNull()?.attr("alt") + ?.let { parseChapterDate(it) } + ?: parseChapterDate(element.select("span.chapter-release-date i").firstOrNull()?.text()) + + return parsedChapter + } +} + +class SpookyScanlations : Madara("Spooky Scanlations", "https://spookyscanlations.xyz", "es", SimpleDateFormat("MMMM dd, yyyy", Locale("es"))) + +class RandomTranslations : Madara("Random Translations", "https://randomtranslations.com", "en", SimpleDateFormat("dd/MM/yyyy", Locale.US)) + +class Atikrost : Madara("Atikrost", "https://atikrost.com", "tr", SimpleDateFormat("MMMM dd, yyyy", Locale("tr"))) + class ManhuaFast : Madara("ManhuaFast", "https://manhuafast.com", "en") { override val pageListParseSelector = "li.blocks-gallery-item" } @@ -1277,8 +1298,6 @@ class AkuManga : Madara("AkuManga", "https://akumanga.com", "ar") class AsgardTeam : Madara("Asgard Team", "https://www.asgard1team.com", "ar") -class Skymanga : Madara("Skymanga", "https://skymanga.co", "en") - @Nsfw class ToonilyNet : Madara("Toonily.net", "https://toonily.net", "en")