HHS Update Chapter Image Link (#7665)

* Update build.gradle

* Create HomeHeroScans.kt
This commit is contained in:
FourTOne5 2021-06-15 18:58:46 +06:00 committed by GitHub
parent 488889f170
commit 745e57f4e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Home Hero Scans' extName = 'Home Hero Scans'
pkgNameSuffix = "en.homeheroscans" pkgNameSuffix = "en.homeheroscans"
extClass = '.HomeHeroScans' extClass = '.HomeHeroScans'
extVersionCode = 4 extVersionCode = 5
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -173,7 +173,7 @@ open class HomeHeroScans : HttpSource() {
} }
}.map { numpages -> }.map { numpages ->
(0 until numpages).toList().map { (0 until numpages).toList().map {
Page(it, "", "https://raw.githubusercontent.com/kbhuynh/mhh-chapters/master/$series/$chapternum/$it.png") Page(it, "", "$baseUrl/api/image?key=$series/$chapternum/webp/$it.webp")
} }
} }
} }