Update AnimePaheProvider.kt

This commit is contained in:
Arjix 2021-08-18 02:01:23 +03:00 committed by GitHub
parent d490f4073b
commit d24a01b3c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -295,18 +295,6 @@ class AnimePaheProvider : MainAPI() {
return s?.toIntOrNull() != null
}
private fun pow(base: Int, expo: Int): Long{
// does not handle infinity
var exponent = expo
var result: Long = 1
while (exponent != 0) {
result *= base.toLong()
--exponent
}
return result
}
private fun cookieStrToMap(cookie: String): Map<String, String> {
val cookies = mutableMapOf<String, String>()
for (string in cookie.split("; ")) {