add two new sources to madara (#7811)
* Update MangaOwl.kt * Update build.gradle * Update MadaraGenerator.kt * add icon * Update MadaraGenerator.kt * add icon * Update MadaraGenerator.kt * Create OhNoManga.kt
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 95 KiB |
|
@ -0,0 +1,9 @@
|
|||
package eu.kanade.tachiyomi.extension.en.ohnomanga
|
||||
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
@Nsfw
|
||||
class OhNoManga : Madara("Oh No Manga", "https://ohnomanga.com", "en") {
|
||||
|
||||
}
|
|
@ -157,6 +157,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("MangaSco", "https://mangasco.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("MangaSpark", "https://mangaspark.com", "ar"),
|
||||
SingleLang("MangaStein", "https://mangastein.com", "tr"),
|
||||
SingleLang("MangaStic", "https://mangastic.com", "en"),
|
||||
SingleLang("MangaTK", "https://mangatk.com", "en"),
|
||||
SingleLang("MangaTX", "https://mangatx.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("MangaTeca", "https://www.mangateca.com", "pt-BR", overrideVersionCode = 2),
|
||||
|
@ -207,6 +208,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Ninjavi", "https://ninjavi.com", "ar", overrideVersionCode = 1),
|
||||
SingleLang("Nitro Scans", "https://nitroscans.com", "en"),
|
||||
SingleLang("NovelMic", "https://novelmic.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Oh No Manga", "https://ohnomanga.com", "en", isNsfw = true),
|
||||
SingleLang("Off Scan", "https://offscan.top", "pt-BR", overrideVersionCode = 2),
|
||||
SingleLang("OnManga", "https://onmanga.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Origami Orpheans", "https://origami-orpheans.com.br", "pt-BR", overrideVersionCode = 2),
|
||||
|
|
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'MangaOwl'
|
||||
pkgNameSuffix = 'en.mangaowl'
|
||||
extClass = '.MangaOwl'
|
||||
extVersionCode = 12
|
||||
extVersionCode = 13
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ class MangaOwl : ParsedHttpSource() {
|
|||
author = infoElement.select("p.fexi_header_para a.author_link").text()
|
||||
artist = author
|
||||
status = parseStatus(infoElement.select("p.fexi_header_para:contains(status)").first().ownText())
|
||||
genre = infoElement.select(".owl-tags:not(a.label-owl-tag) a.label").mapNotNull{ it.text() }.joinToString(", ")
|
||||
genre = infoElement.select("div.col-xs-12.col-md-8.single-right-grid-right > p > a[href*=genres]").joinToString { it.text() }
|
||||
description = infoElement.select(".description").first().ownText()
|
||||
thumbnail_url = infoElement.select("img").first()?.let { img ->
|
||||
if (img.hasAttr("data-src")) img.attr("abs:data-src") else img.attr("abs:src")
|
||||
|
|