[RU]Libhentai mobile user-agent (#10652)

(for the correct display of the site in webview)
This commit is contained in:
e-shl 2022-02-02 15:55:58 +05:00 committed by GitHub
parent 69b28f71cb
commit faeebccbff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'HentaiLib'
pkgNameSuffix = 'ru.libhentai'
extClass = '.LibHentai'
extVersionCode = 3
extVersionCode = 4
isNsfw = true
}

View File

@ -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)
}