fix(pt/betteranime): Fixed pt/BetterAnime source (fix #222) #229

Merged
WebDitto merged 1 commit from fix/pt/betteranime into main 2024-09-11 07:18:56 -05:00
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
ext {
extName = 'Better Anime'
extClass = '.BetterAnime'
extVersionCode = 11
extVersionCode = 12
}
apply from: "$rootDir/common.gradle"

View file

@ -32,8 +32,8 @@ internal class LoginInterceptor(
val formBody = FormBody.Builder()
.add("_token", token)
.add("g-recaptcha-response", recaptchaToken)
.add("email", String(Base64.decode("aGVmaWczNTY0NUBuYW1ld29rLmNvbQ==", Base64.DEFAULT)))
.add("password", String(Base64.decode("SE1HNFdoVEI0QnRJWTlIdg==", Base64.DEFAULT)))
.add("email", String(Base64.decode("YmV0dGVyYW5pbWVhY2NvdW50QHN0YXJtYWlsLm5ldA==", Base64.DEFAULT)))
.add("password", String(Base64.decode("QCNGJDA3SjhpIV4xNElqYk4hOEUjMkQ0Z2FOJF5A", Base64.DEFAULT)))
.build()
val loginRes = chain.proceed(POST("$baseUrl/login", headers, formBody))