Fixes #13275
Updates element selector for pageListParse
Updates baseUrl
This commit is contained in:
happywillow0 2022-08-30 22:36:40 -04:00 committed by GitHub
parent f00a705e51
commit a6a6be6844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Mangafreak'
pkgNameSuffix = 'en.mangafreak'
extClass = '.Mangafreak'
extVersionCode = 6
extVersionCode = 7
}

View File

@ -22,7 +22,7 @@ class Mangafreak : ParsedHttpSource() {
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
@ -162,7 +162,7 @@ class Mangafreak : ParsedHttpSource() {
// Pages
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")))
}
}