diff --git a/src/pt/sussyscan/build.gradle b/src/pt/sussyscan/build.gradle index ae1210e13..0a13ce410 100644 --- a/src/pt/sussyscan/build.gradle +++ b/src/pt/sussyscan/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Sussy Scan' extClass = '.SussyScan' - extVersionCode = 42 + extVersionCode = 43 isNsfw = true } diff --git a/src/pt/sussyscan/src/eu/kanade/tachiyomi/extension/pt/sussyscan/SussyScan.kt b/src/pt/sussyscan/src/eu/kanade/tachiyomi/extension/pt/sussyscan/SussyScan.kt index edf692cbe..8c172f1de 100644 --- a/src/pt/sussyscan/src/eu/kanade/tachiyomi/extension/pt/sussyscan/SussyScan.kt +++ b/src/pt/sussyscan/src/eu/kanade/tachiyomi/extension/pt/sussyscan/SussyScan.kt @@ -149,7 +149,13 @@ class SussyScan : HttpSource() { // ============================= Pages ==================================== - override fun pageListRequest(chapter: SChapter) = GET("$apiUrl${chapter.url}", headers) + override fun pageListRequest(chapter: SChapter): Request { + val pageHeaders = headers.newBuilder() + .set("Accept", "application/json, text/plain, */*") + .set("Accept-Language", "pt-br,pt;q=0.9,en-us;q=0.8,en;q=0.7") + .build() + return GET("$apiUrl${chapter.url}", pageHeaders) + } override fun pageListParse(response: Response): List { val dto = response.parseAs>().results