parent
8b3d0abd3e
commit
2307dbf25f
Binary file not shown.
Before Width: | Height: | Size: 5.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
Binary file not shown.
Before Width: | Height: | Size: 29 KiB |
Binary file not shown.
Before Width: | Height: | Size: 188 KiB |
|
@ -1,46 +0,0 @@
|
||||||
package eu.kanade.tachiyomi.extension.es.inarimanga
|
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|
||||||
import eu.kanade.tachiyomi.source.model.SManga
|
|
||||||
import org.jsoup.nodes.Element
|
|
||||||
import java.text.SimpleDateFormat
|
|
||||||
import java.util.Locale
|
|
||||||
|
|
||||||
class InariManga : Madara(
|
|
||||||
"InariManga",
|
|
||||||
"https://inarimanga.com",
|
|
||||||
"es",
|
|
||||||
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
|
|
||||||
) {
|
|
||||||
override fun popularMangaSelector() = "div.page-listing-item div.post"
|
|
||||||
override val popularMangaUrlSelector = "div.p-2 > h6 > a"
|
|
||||||
|
|
||||||
override fun searchMangaSelector() = "div.page-listing-item div.post"
|
|
||||||
private val searchMangaUrlSelector = "div.p-2 > h6 > a"
|
|
||||||
|
|
||||||
override val mangaDetailsSelectorDescription = "div.card-body:has(h5:contains(Sinopsis))"
|
|
||||||
override val mangaDetailsSelectorThumbnail = "div.col-sticky-top > img"
|
|
||||||
override val mangaDetailsSelectorStatus = "div.card-body tr:has(th:contains(Estatus)) > td"
|
|
||||||
override val mangaDetailsSelectorGenre = "div.my-auto > div.inline-block > a"
|
|
||||||
|
|
||||||
override val useNewChapterEndpoint = true
|
|
||||||
|
|
||||||
override fun chapterListSelector() = "tr.wp-manga-chapter"
|
|
||||||
override fun chapterDateSelector() = "time.chapter-release-date"
|
|
||||||
|
|
||||||
override fun searchMangaFromElement(element: Element): SManga {
|
|
||||||
val manga = SManga.create()
|
|
||||||
|
|
||||||
with(element) {
|
|
||||||
select(searchMangaUrlSelector).first()?.let {
|
|
||||||
manga.setUrlWithoutDomain(it.attr("abs:href"))
|
|
||||||
manga.title = it.ownText()
|
|
||||||
}
|
|
||||||
select("img").first()?.let {
|
|
||||||
manga.thumbnail_url = imageFromElement(it)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return manga
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -158,7 +158,6 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Illusion Scan", "https://illusionscan.com", "pt-BR", isNsfw = true),
|
SingleLang("Illusion Scan", "https://illusionscan.com", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Immortal Updates", "https://immortalupdates.com", "en", overrideVersionCode = 6),
|
SingleLang("Immortal Updates", "https://immortalupdates.com", "en", overrideVersionCode = 6),
|
||||||
SingleLang("Império Scans", "https://imperioscans.com.br", "pt-BR", className = "ImperioScans", overrideVersionCode = 1),
|
SingleLang("Império Scans", "https://imperioscans.com.br", "pt-BR", className = "ImperioScans", overrideVersionCode = 1),
|
||||||
SingleLang("InariManga", "https://inarimanga.com", "es", overrideVersionCode = 1),
|
|
||||||
SingleLang("Inazu Manga", "https://inazumanga.com", "id", isNsfw = true),
|
SingleLang("Inazu Manga", "https://inazumanga.com", "id", isNsfw = true),
|
||||||
SingleLang("InfraFandub", "https://infrafandub.xyz", "es"),
|
SingleLang("InfraFandub", "https://infrafandub.xyz", "es"),
|
||||||
SingleLang("Inmortal Scan", "https://manga.mundodrama.site", "es"),
|
SingleLang("Inmortal Scan", "https://manga.mundodrama.site", "es"),
|
||||||
|
|
Loading…
Reference in New Issue