forked from recloudstream/cloudstream
Update AnimePaheProvider.kt
This commit is contained in:
parent
2eb84ed896
commit
f7f8ade0c7
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue