add mangasky to madara (#7780)

* Update MangaOwl.kt

* Update build.gradle

* Update MadaraGenerator.kt

* Add files via upload

* Update MangaOwl.kt
This commit is contained in:
CVIUS 2021-06-21 19:17:20 +08:00 committed by GitHub
parent 7a6c316bff
commit 65bf2c14b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 3 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

View File

@ -128,6 +128,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Manga Read", "https://mangaread.co", "en", overrideVersionCode = 1),
SingleLang("Manga Rock Team", "https://mangarockteam.com", "en", overrideVersionCode = 1),
SingleLang("Manga Rocky", "https://mangarocky.com", "en", overrideVersionCode = 1),
SingleLang("Manga Sky", "https://mangasky.net", "en"),
SingleLang("Manga SY", "https://www.mangasy.com", "en", overrideVersionCode = 1),
SingleLang("Manga Starz", "https://mangastarz.com", "ar"),
SingleLang("Manga Too", "https://mangatoo.com/", "en", overrideVersionCode = 1),

View File

@ -5,7 +5,7 @@ ext {
extName = 'MangaOwl'
pkgNameSuffix = 'en.mangaowl'
extClass = '.MangaOwl'
extVersionCode = 9
extVersionCode = 10
libVersion = '1.2'
}

View File

@ -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 a").joinToString { it.text() }
genre = infoElement.select("a.label").mapNotNull{ it.text() }.joinToString(", ")
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")