diff --git a/multisrc/overrides/mangacatalog/readswordartonlinemangaonline/src/ReadSwordArtOnlineMangaOnline.kt b/multisrc/overrides/mangacatalog/readswordartonlinemangaonline/src/ReadSwordArtOnlineMangaOnline.kt deleted file mode 100644 index 373e2015c..000000000 --- a/multisrc/overrides/mangacatalog/readswordartonlinemangaonline/src/ReadSwordArtOnlineMangaOnline.kt +++ /dev/null @@ -1,37 +0,0 @@ -package eu.kanade.tachiyomi.extension.en.readswordartonlinemangaonline - -import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog -import eu.kanade.tachiyomi.source.model.SChapter -import eu.kanade.tachiyomi.source.model.SManga -import org.jsoup.nodes.Document -import org.jsoup.nodes.Element - -class ReadSwordArtOnlineMangaOnline : MangaCatalog("Read Sword Art Online Manga Online", "https://manga.watchsao.tv", "en") { - override val sourceList = listOf( - Pair("SAO", "$baseUrl/manga/sword-art-online/"), - Pair("Alicization", "$baseUrl/manga/sword-art-online-project-alicization/"), - Pair("Progressive", "$baseUrl/manga/sword-art-online-progressive/"), - Pair("Progressive 2", "$baseUrl/manga/sword-art-online-progressive-barcarolle-of-froth/"), - Pair("Fairy Dance", "$baseUrl/manga/sword-art-online-fairy-dance/"), - Pair("GGO", "$baseUrl/manga/sword-art-online-alternative-gun-gale-online/"), - Pair("4-koma", "$baseUrl/manga/sword-art-online-4-koma/"), - Pair("Aincrad", "$baseUrl/manga/sword-art-online-aincrad-night-of-kirito/"), - Pair("Girls Ops", "$baseUrl/manga/sword-art-online-girls-ops/"), - Pair("Anthology", "$baseUrl/manga/sword-art-online-comic-anthology/"), - Pair("Lycoris", "$baseUrl/manga/sword-art-online-lycoris/"), - Pair("Hollow Realization", "$baseUrl/manga/sword-art-online-hollow-realization/"), - Pair("Ordinal Scale", "$baseUrl/manga/sword-art-online-ordinal-scale/"), - ).sortedBy { it.first }.distinctBy { it.second } - - override fun mangaDetailsParse(document: Document): SManga = SManga.create().apply { - description = document.select("div.card-body > p").text() - title = document.select("h2 > span").text() - thumbnail_url = document.select(".card-img-right").attr("src") - } - override fun chapterListSelector(): String = "tbody > tr" - override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply { - name = element.select("td:first-child").text() - url = element.select("a.btn-primary").attr("abs:href") - date_upload = System.currentTimeMillis() // I have no idear how to parse Date stuff - } -} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangacatalog/MangaCatalogGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangacatalog/MangaCatalogGenerator.kt index 8bae4a08a..ec7dc2bfa 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangacatalog/MangaCatalogGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangacatalog/MangaCatalogGenerator.kt @@ -32,7 +32,6 @@ class MangaCatalogGenerator : ThemeSourceGenerator { SingleLang("Read One Piece Manga Online", "https://ww8.readonepiece.com", "en"), SingleLang("Read One-Punch Man Manga Online", "https://ww3.readopm.com", "en", className = "ReadOnePunchManMangaOnlineTwo", overrideVersionCode = 1), // exact same name as the one in mangamainac extension SingleLang("Read Solo Leveling Manga Manhwa Online", "https://readsololeveling.org", "en", overrideVersionCode = 2), - SingleLang("Read Sword Art Online Manga Online", "https://manga.watchsao.tv", "en"), SingleLang("Read The Promised Neverland Manga Online", "https://ww3.readneverland.com", "en", overrideVersionCode = 1), SingleLang("Read Tokyo Ghoul Re & Tokyo Ghoul Manga Online", "https://ww8.tokyoghoulre.com", "en", className = "ReadTokyoGhoulReTokyoGhoulMangaOnline", overrideVersionCode = 1), SingleLang("Read Tower of God Manhwa Manga Online", "https://ww1.readtowerofgod.com", "en", className = "ReadTowerOfGodManhwaMangaOnline", overrideVersionCode = 2),