Update RawLH chapter list selector (fixes #410) (#413)

This commit is contained in:
Eugene 2018-07-27 05:12:11 -04:00 committed by Carlos
parent ee16e25b5a
commit 296ca1c328
2 changed files with 5 additions and 5 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: RawLH'
pkgNameSuffix = "ja.rawlh"
extClass = '.Rawlh'
extVersionCode = 3
extVersionSuffix = 1
extVersionCode = 4
extVersionSuffix = 2
libVersion = '1.2'
}

View File

@ -103,11 +103,11 @@ class Rawlh : ParsedHttpSource() {
else -> SManga.UNKNOWN
}
override fun chapterListSelector() = " table.table.table-hover tbody tr"
override fun chapterListSelector() = ".list-chapters p"
override fun chapterFromElement(element: Element): SChapter {
val urlElement = element.select("td a").first()
val timeElement = element.select("td time").first()
val urlElement = element.select("a.chapter").first()
val timeElement = element.select(".pubDate time").first()
val chapter = SChapter.create()
chapter.setUrlWithoutDomain("/" + urlElement.attr("href"))