[RU]Libhentai mobile user-agent (#10652)
(for the correct display of the site in webview)
This commit is contained in:
parent
69b28f71cb
commit
faeebccbff
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'HentaiLib'
|
||||
pkgNameSuffix = 'ru.libhentai'
|
||||
extClass = '.LibHentai'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,6 @@ class LibHentai : ConfigurableSource, HttpSource() {
|
|||
override val baseUrl = "https://hentailib.me"
|
||||
|
||||
override fun headersBuilder() = Headers.Builder().apply {
|
||||
add("User-Agent", "Mozilla/5.0 (Windows NT 6.3; WOW64)")
|
||||
add("Accept", "image/webp,*/*;q=0.8")
|
||||
add("Referer", baseUrl)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue