Don't overwrite User-Agent for CloudFlare bypass (#10614)

This commit is contained in:
Vetle Ledaal 2022-01-31 12:12:16 +00:00 committed by GitHub
parent cb1cf8f2d8
commit 8ca9524460
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 = 'MangaLib'
pkgNameSuffix = 'ru.libmanga'
extClass = '.LibManga'
extVersionCode = 59
extVersionCode = 60
}
dependencies {

View File

@ -69,7 +69,6 @@ class LibManga : ConfigurableSource, HttpSource() {
override val baseUrl: String = domain.toString()
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)
}