mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-25 11:42:47 +01:00
Prune MangaCatalog (#689)
This commit is contained in:
parent
e296c1d3aa
commit
a5b494921b
@ -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
|
||||
}
|
||||
}
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user