Fix (#13276)
Fixes #13275 Updates element selector for pageListParse Updates baseUrl
This commit is contained in:
parent
f00a705e51
commit
a6a6be6844
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Mangafreak'
|
extName = 'Mangafreak'
|
||||||
pkgNameSuffix = 'en.mangafreak'
|
pkgNameSuffix = 'en.mangafreak'
|
||||||
extClass = '.Mangafreak'
|
extClass = '.Mangafreak'
|
||||||
extVersionCode = 6
|
extVersionCode = 7
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ class Mangafreak : ParsedHttpSource() {
|
||||||
|
|
||||||
override val lang: String = "en"
|
override val lang: String = "en"
|
||||||
|
|
||||||
override val baseUrl: String = "https://w12.mangafreak.net"
|
override val baseUrl: String = "https://w13.mangafreak.net"
|
||||||
|
|
||||||
override val supportsLatest: Boolean = true
|
override val supportsLatest: Boolean = true
|
||||||
|
|
||||||
|
@ -162,7 +162,7 @@ class Mangafreak : 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("img#gohere").forEachIndexed { index, element ->
|
document.select("img#gohere[src]").forEachIndexed { index, element ->
|
||||||
add(Page(index, "", element.attr("abs:src")))
|
add(Page(index, "", element.attr("abs:src")))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue