ReadM - fix latest (#3307)
This commit is contained in:
parent
9f248e849c
commit
34a1f446ea
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: ReadM'
|
||||
pkgNameSuffix = 'en.readm'
|
||||
extClass = '.ReadM'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -47,10 +47,10 @@ class ReadM : ParsedHttpSource() {
|
|||
|
||||
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/latest-releases/$page", headers)
|
||||
override fun latestUpdatesNextPageSelector(): String? = popularMangaNextPageSelector()
|
||||
override fun latestUpdatesSelector(): String = "ul.latest-updates li"
|
||||
override fun latestUpdatesSelector(): String = "ul.latest-updates > li"
|
||||
override fun latestUpdatesFromElement(element: Element): SManga = SManga.create().apply {
|
||||
thumbnail_url = element.select("img").attr("data-src")
|
||||
element.select("a").first().apply {
|
||||
thumbnail_url = element.select("img").attr("abs:data-src")
|
||||
element.select("h2 a").first().apply {
|
||||
title = this.text().trim()
|
||||
url = this.attr("href")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue