HentaiVN: bypass "captcha" (#16206)
* HentaiVN: Bypass "captcha" * Update build.gradle
This commit is contained in:
parent
2e2ca33445
commit
037191ea8f
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'HentaiVN'
|
||||
pkgNameSuffix = 'vi.hentaivn'
|
||||
extClass = '.HentaiVN'
|
||||
extVersionCode = 22
|
||||
extVersionCode = 23
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ class HentaiVN : ParsedHttpSource() {
|
|||
|
||||
override fun headersBuilder(): Headers.Builder = super.headersBuilder()
|
||||
.add("Referer", baseUrl)
|
||||
.add("Cookie", "view4=1") // Get popular manga
|
||||
.add("Cookie", "view1=1; view4=1") // bypass "captcha" and get popular manga
|
||||
|
||||
private val dateFormat = SimpleDateFormat("dd/MM/yyyy", Locale.ENGLISH)
|
||||
|
||||
|
|
Loading…
Reference in New Issue