[RU]Desu icon (#15564)

* [RU]Desu icon

* getChapterUrl
This commit is contained in:
Eshlender 2023-03-06 02:44:33 +05:00 committed by GitHub
parent dcb8be1157
commit 907cb38a55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Desu'
pkgNameSuffix = 'ru.desu'
extClass = '.Desu'
extVersionCode = 20
extVersionCode = 21
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 255 KiB

View File

@ -227,6 +227,10 @@ class Desu : HttpSource() {
return GET(baseUrl + API_URL + chapter.url.substringAfterLast("#apiChapter"), headers)
}
override fun getChapterUrl(chapter: SChapter): String {
return baseUrl + chapter.url.substringBeforeLast("#apiChapter")
}
override fun pageListParse(response: Response): List<Page> {
val obj = json.parseToJsonElement(response.body.string())
.jsonObject["response"]!!