parent
81e02d01b3
commit
220221deec
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = "Rawdevart.art"
|
extName = "Rawdevart.art"
|
||||||
extClass = ".Rawdevartart"
|
extClass = ".Rawdevartart"
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,8 @@ class Rawdevartart : HttpSource() {
|
||||||
|
|
||||||
override val baseUrl = "https://rawdevart.art"
|
override val baseUrl = "https://rawdevart.art"
|
||||||
|
|
||||||
|
private val pageUrl = "https://s1.rawuwu.com"
|
||||||
|
|
||||||
override val supportsLatest = true
|
override val supportsLatest = true
|
||||||
|
|
||||||
override fun headersBuilder() = super.headersBuilder()
|
override fun headersBuilder() = super.headersBuilder()
|
||||||
|
@ -99,7 +101,7 @@ class Rawdevartart : HttpSource() {
|
||||||
override fun pageListParse(response: Response): List<Page> {
|
override fun pageListParse(response: Response): List<Page> {
|
||||||
val data = response.parseAs<ChapterDetailsDto>()
|
val data = response.parseAs<ChapterDetailsDto>()
|
||||||
|
|
||||||
return data.toPageList(baseUrl)
|
return data.toPageList(pageUrl)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun imageUrlParse(response: Response) = throw UnsupportedOperationException()
|
override fun imageUrlParse(response: Response) = throw UnsupportedOperationException()
|
||||||
|
|
Loading…
Reference in New Issue