Skip to content

Commit

Permalink
Weeb Central: Fix no pages found for Suwayomi users (#6219)
Browse files Browse the repository at this point in the history
  • Loading branch information
lamaxama authored Nov 22, 2024
1 parent 23cff96 commit 2984d00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/en/weebcentral/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
extName = 'Weeb Central'
extClass = '.WeebCentral'
extVersionCode = 4
extVersionCode = 5
isNsfw = true
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit 2984d00

Please sign in to comment.