Rawdevartart: Update page URL (#5979)

Update page URL
This commit is contained in:
Chopper 2024-11-11 05:39:24 -03:00 committed by GitHub
parent 6cc1fe9a40
commit a22d3aa0b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = "Rawdevart.art"
extClass = ".Rawdevartart"
extVersionCode = 2
extVersionCode = 3
isNsfw = true
}

View File

@ -26,6 +26,8 @@ class Rawdevartart : HttpSource() {
override val baseUrl = "https://rawdevart.art"
private val pageUrl = "https://s1.rawuwu.com"
override val supportsLatest = true
override fun headersBuilder() = super.headersBuilder()
@ -99,7 +101,7 @@ class Rawdevartart : HttpSource() {
override fun pageListParse(response: Response): List<Page> {
val data = response.parseAs<ChapterDetailsDto>()
return data.toPageList(baseUrl)
return data.toPageList(pageUrl)
}
override fun imageUrlParse(response: Response) = throw UnsupportedOperationException()