mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 02:12:42 +01:00
ManhwaWeb: Add header fix some covers (#4373)
add header, some covers did not load
This commit is contained in:
parent
5b71368240
commit
fc74e1dc21
@ -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
Block a user