Update AnimePaheProvider.kt

This commit is contained in:
Arjix 2021-10-03 00:04:53 +03:00 committed by GitHub
parent 2eb84ed896
commit f7f8ade0c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -465,7 +465,7 @@ class AnimePaheProvider : MainAPI() {
allowRedirects = false allowRedirects = false
) )
cookies = cookies + adflyContent.cookies cookies = cookies + adflyContent.cookies
responseCode = adflyContent.code responseCode = adflyContent.status
++tries ++tries
} }
if (tries > 19) { if (tries > 19) {
@ -496,7 +496,7 @@ class AnimePaheProvider : MainAPI() {
headers = mapOf("referer" to fContent.url), headers = mapOf("referer" to fContent.url),
cookies = fContent.cookies cookies = fContent.cookies
) )
code = content.code code = content.status
++tries ++tries
} }
if (tries > 19) { if (tries > 19) {