Skip to content

Commit

Permalink
Merge pull request #364 from Shikkanime/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Ziedelth authored Apr 11, 2024
2 parents 10bc8c3 + 606b4c5 commit 7ca08f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/playwright:v1.42.1-jammy
FROM mcr.microsoft.com/playwright:v1.43.0-jammy
ARG version=21.0.2.13-1
ENV LANG C.UTF-8
ENV JAVA_HOME /usr/lib/jvm/java-21-amazon-corretto
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ val ktorSwaggerUiVersion = "2.8.0"
val hibernateCoreVersion = "6.4.4.Final"
val ehcacheVersion = "3.10.8"
val glassfishJaxbVersion = "4.0.5"
val hibernateSearchVersion = "7.1.0.Final"
val hibernateSearchVersion = "7.1.1.Final"
val tikaVersion = "3.0.0-BETA"
val postgresqlVersion = "42.7.3"
val reflectionsVersion = "0.10.2"
val guiceVersion = "7.0.0"
val liquibaseCoreVersion = "4.27.0"
val quartzVersion = "2.5.0-rc1"
val guavaVersion = "33.1.0-jre"
val playwrightVersion = "1.42.0"
val playwrightVersion = "1.43.0"
val jsoupVersion = "1.17.2"
val gsonVersion = "2.10.1"
val openCvVersion = "4.9.0-0"
Expand Down
4 changes: 3 additions & 1 deletion src/main/kotlin/fr/shikkanime/wrappers/CrunchyrollWrapper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import fr.shikkanime.utils.ObjectParser
import fr.shikkanime.utils.ObjectParser.getAsString
import fr.shikkanime.utils.ObjectParser.getNullableJsonObject
import io.ktor.client.statement.*
import java.util.*

/**
* Implementation of the Crunchyroll API
Expand Down Expand Up @@ -41,7 +42,8 @@ object CrunchyrollWrapper {
"${BASE_URL}auth/v1/token",
headers = mapOf(
"Content-Type" to "application/x-www-form-urlencoded",
"Authorization" to "Basic b2VkYXJteHN0bGgxanZhd2ltbnE6OWxFaHZIWkpEMzJqdVY1ZFc5Vk9TNTdkb3BkSnBnbzE="
"Authorization" to "Basic Y3Jfd2ViOg==",
"ETP-Anonymous-ID" to UUID.randomUUID().toString(),
),
body = "grant_type=client_id&client_id=offline_access"
)
Expand Down

0 comments on commit 7ca08f8

Please sign in to comment.