add MangaLionz source (#6208)
* Add files via upload * Update MadaraGenerator.kt
This commit is contained in:
parent
1438fb4c43
commit
7316207883
|
@ -0,0 +1,24 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.ar.mangalionz
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.source.model.SManga
|
||||||
|
import org.jsoup.nodes.Element
|
||||||
|
|
||||||
|
class MangaLionz : Madara("MangaLionz", "https://mangalionz.com", "ar") {
|
||||||
|
override fun popularMangaFromElement(element: Element): SManga {
|
||||||
|
val manga = SManga.create()
|
||||||
|
|
||||||
|
with(element) {
|
||||||
|
select(popularMangaUrlSelector).first()?.let {
|
||||||
|
manga.setUrlWithoutDomain(it.attr("abs:href"))
|
||||||
|
manga.title = it.ownText()
|
||||||
|
}
|
||||||
|
|
||||||
|
select("img").first()?.let {
|
||||||
|
manga.thumbnail_url = imageFromElement(it)?.replace("mangalionz", "mangalek")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return manga
|
||||||
|
}
|
||||||
|
}
|
|
@ -103,6 +103,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("MangaKomi", "https://mangakomi.com", "en"),
|
SingleLang("MangaKomi", "https://mangakomi.com", "en"),
|
||||||
SingleLang("Manga Land Arabic", "https://mangalandarabic.com", "ar"),
|
SingleLang("Manga Land Arabic", "https://mangalandarabic.com", "ar"),
|
||||||
SingleLang("مانجا ليك", "https://mangalek.com", "ar", className = "Mangalek"),
|
SingleLang("مانجا ليك", "https://mangalek.com", "ar", className = "Mangalek"),
|
||||||
|
SingleLang("MangaLionz", "https://mangalionz.com", "ar"),
|
||||||
SingleLang("Manga Lord", "https://mangalord.com", "en"),
|
SingleLang("Manga Lord", "https://mangalord.com", "en"),
|
||||||
SingleLang("Manganelo.link", "https://manganelo.link", "en", className = "ManganeloLink"),
|
SingleLang("Manganelo.link", "https://manganelo.link", "en", className = "ManganeloLink"),
|
||||||
SingleLang("Manga Nine", "https://manganine.com", "en"),
|
SingleLang("Manga Nine", "https://manganine.com", "en"),
|
||||||
|
|
Loading…
Reference in New Issue