[RU]Mangaclub fix image parse (#7701)
This commit is contained in:
parent
d07d777c2b
commit
d1415a27c6
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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")))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue