parent
0a0251c9d7
commit
6acac9416c
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Rizz Comic'
|
extName = 'Rizz Comic'
|
||||||
extClass = '.RizzComic'
|
extClass = '.RizzComic'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -101,7 +101,7 @@ class RizzComic : HttpSource(), ConfigurableSource {
|
||||||
updateCache()
|
updateCache()
|
||||||
}
|
}
|
||||||
|
|
||||||
return urlPrefix!!
|
return urlPrefix ?: throw Exception("Unable to update dynamic urls")
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun popularMangaRequest(page: Int) = searchMangaRequest(page, "", SortFilter.POPULAR)
|
override fun popularMangaRequest(page: Int) = searchMangaRequest(page, "", SortFilter.POPULAR)
|
||||||
|
@ -267,7 +267,6 @@ class RizzComic : HttpSource(), ConfigurableSource {
|
||||||
override fun imageRequest(page: Page): Request {
|
override fun imageRequest(page: Page): Request {
|
||||||
val newHeaders = headersBuilder()
|
val newHeaders = headersBuilder()
|
||||||
.set("Accept", "image/avif,image/webp,image/png,image/jpeg,*/*")
|
.set("Accept", "image/avif,image/webp,image/png,image/jpeg,*/*")
|
||||||
.set("Referer", page.url)
|
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
return GET(page.imageUrl!!, newHeaders)
|
return GET(page.imageUrl!!, newHeaders)
|
||||||
|
|
Loading…
Reference in New Issue