ManhwaWeb: Add header fix some covers (#4373)
add header, some covers did not load
This commit is contained in:
parent
a82548860a
commit
ea99a44cf3
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'ManhwaWeb'
|
||||
extClass = '.ManhwaWeb'
|
||||
extVersionCode = 4
|
||||
extVersionCode = 5
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ class ManhwaWeb : HttpSource() {
|
|||
|
||||
override fun headersBuilder(): Headers.Builder = super.headersBuilder()
|
||||
.add("Referer", "$baseUrl/")
|
||||
.add("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8")
|
||||
|
||||
override fun popularMangaRequest(page: Int): Request = GET("$apiUrl/manhwa/nuevos", headers)
|
||||
|
||||
|
|
Loading…
Reference in New Issue