Weeb Central: Fix no pages found for Suwayomi users (#6219)

This commit is contained in:
lamaxama 2024-11-22 22:27:21 +08:00 committed by Draff
parent 2def743f23
commit ea644d7697
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Weeb Central'
extClass = '.WeebCentral'
extVersionCode = 4
extVersionCode = 5
isNsfw = true
}

View File

@ -160,10 +160,8 @@ class WeebCentral : ParsedHttpSource() {
?.addQueryParameter("reading_style", "long_strip")
?.build()
?.toString()
?: chapter.url
chapter.setUrlWithoutDomain(newUrl)
return super.pageListRequest(chapter)
?: (baseUrl + chapter.url)
return GET(newUrl, headers)
}
override fun pageListParse(document: Document): List<Page> {