MangaHere update (#141)

* updated to match internal source

* updated version code

* switched extVersion back,
reverted libVersion

* updated to latest LibVersion

* fixed suffix since only need to increment by 1
This commit is contained in:
Carlos 2017-12-09 10:08:28 -05:00 committed by inorichi
parent 97f46e028c
commit b3b22a9854
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: Mangahere'
pkgNameSuffix = "en.mangahere"
extClass = '.Mangahere'
extVersionCode = 3
extVersionSuffix = 1
extVersionCode = 4
extVersionSuffix = 2
libVersion = '1.2'
}

View File

@ -111,8 +111,8 @@ class Mangahere : ParsedHttpSource() {
val infoElement = detailElement.select(".detail_topText").first()
val manga = SManga.create()
manga.author = infoElement.select("a[href^=http://www.mangahere.co/author/]").first()?.text()
manga.artist = infoElement.select("a[href^=http://www.mangahere.co/artist/]").first()?.text()
manga.author = infoElement.select("a[href^=//www.mangahere.co/author/]").first()?.text()
manga.artist = infoElement.select("a[href^=//www.mangahere.co/artist/]").first()?.text()
manga.genre = infoElement.select("li:eq(3)").first()?.text()?.substringAfter("Genre(s):")
manga.description = infoElement.select("#show").first()?.text()?.substringBeforeLast("Show less")
manga.status = infoElement.select("li:eq(6)").first()?.text().orEmpty().let { parseStatus(it) }