fix myreadingmanga (#545)

This commit is contained in:
Carlos 2018-10-10 21:19:45 -04:00 committed by GitHub
parent 63967e00b6
commit d5a2e77244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: MyReadingManga'
pkgNameSuffix = 'all.myreadingmanga'
extClass = '.MyReadingMangaFactory'
extVersionCode = 6
extVersionSuffix = 5
extVersionCode = 7
extVersionSuffix = 6
libVersion = '1.2'
}

View File

@ -69,7 +69,7 @@ open class MyReadingManga(override val lang: String) : ParsedHttpSource() {
val manga = SManga.create()
manga.setUrlWithoutDomain(titleElement.attr("href"))
manga.title = cleanTitle(titleElement.text())
manga.thumbnail_url = getThumbnail(thumbnailElement.attr("data-lazy-src"))
manga.thumbnail_url = getThumbnail(thumbnailElement.attr("data-src"))
return manga
}
@ -137,7 +137,7 @@ open class MyReadingManga(override val lang: String) : ParsedHttpSource() {
val pages = mutableListOf<Page>()
val elements = body.select("div.separator > img")
(0 until elements.size).mapTo(pages) { Page(it, "", elements[it].attr("data-lazy-src")) }
(0 until elements.size).mapTo(pages) { Page(it, "", elements[it].attr("data-src")) }
return pages
}