Manga-Raw.club: Fixed #11106 (#11136)

This commit is contained in:
Davide 2022-03-16 14:55:11 +01:00 committed by GitHub
parent e0004a0d62
commit 4a1559c44e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'manga-raw.club' extName = 'manga-raw.club'
pkgNameSuffix = 'en.mangarawclub' pkgNameSuffix = 'en.mangarawclub'
extClass = '.MangaRawClub' extClass = '.MangaRawClub'
extVersionCode = 7 extVersionCode = 8
isNsfw = true isNsfw = true
} }

View File

@ -38,7 +38,7 @@ class MangaRawClub : ParsedHttpSource() {
} }
override fun popularMangaRequest(page: Int): Request { override fun popularMangaRequest(page: Int): Request {
return GET("$baseUrl/browse/?results=$page&filter=views", headers) return GET("$baseUrl/browse-comics/?results=$page&filter=views", headers)
} }
override fun latestUpdatesRequest(page: Int): Request { override fun latestUpdatesRequest(page: Int): Request {
@ -162,7 +162,7 @@ class MangaRawClub : ParsedHttpSource() {
return GET("$baseUrl/search/?search=$query", headers) return GET("$baseUrl/search/?search=$query", headers)
// Filter search // Filter search
val url = "$baseUrl/browse/".toHttpUrlOrNull()!!.newBuilder() val url = "$baseUrl/browse-comics/".toHttpUrlOrNull()!!.newBuilder()
val requestBody = FormBody.Builder() val requestBody = FormBody.Builder()
url.addQueryParameter("results", page.toString()) url.addQueryParameter("results", page.toString())