[RU]Mangaclub fix image parse (#7701)

This commit is contained in:
Eugene 2021-06-17 18:36:38 +05:00 committed by GitHub
parent d07d777c2b
commit d1415a27c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'MangaClub' extName = 'MangaClub'
pkgNameSuffix = 'ru.mangaclub' pkgNameSuffix = 'ru.mangaclub'
extClass = '.Mangaclub' extClass = '.Mangaclub'
extVersionCode = 2 extVersionCode = 3
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -106,7 +106,7 @@ class Mangaclub : ParsedHttpSource() {
// Pages // Pages
override fun pageListParse(document: Document): List<Page> = mutableListOf<Page>().apply { override fun pageListParse(document: Document): List<Page> = mutableListOf<Page>().apply {
document.select(".manga-lines-page a").forEach { document.select(".manga-lines-page a").forEach {
add(Page(it.attr("data-p").toInt(), "", it.attr("abs:data-i"))) add(Page(it.attr("data-p").toInt(), "", baseUrl.replace("//", "//img.") + "/" + it.attr("data-i")))
} }
} }