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