diff --git a/src/en/weebcentral/build.gradle b/src/en/weebcentral/build.gradle index da0b6415b..fc686178d 100644 --- a/src/en/weebcentral/build.gradle +++ b/src/en/weebcentral/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Weeb Central' extClass = '.WeebCentral' - extVersionCode = 5 + extVersionCode = 6 isNsfw = true } diff --git a/src/en/weebcentral/src/eu/kanade/tachiyomi/extension/en/weebcentral/WeebCentral.kt b/src/en/weebcentral/src/eu/kanade/tachiyomi/extension/en/weebcentral/WeebCentral.kt index 9c5ff593e..e88b6c3c7 100644 --- a/src/en/weebcentral/src/eu/kanade/tachiyomi/extension/en/weebcentral/WeebCentral.kt +++ b/src/en/weebcentral/src/eu/kanade/tachiyomi/extension/en/weebcentral/WeebCentral.kt @@ -164,6 +164,10 @@ class WeebCentral : ParsedHttpSource() { return GET(newUrl, headers) } + override fun getChapterUrl(chapter: SChapter): String { + return baseUrl + chapter.url + } + override fun pageListParse(document: Document): List { return document.select("section[x-data~=scroll] > img").mapIndexed { index, element -> Page(index, imageUrl = element.attr("abs:src"))