Skip to content

Commit

Permalink
fix(en/aniwave) vidplay and mycloud not showing sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
KawsarDev committed Dec 21, 2023
1 parent b6e93cd commit 6445e4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/en/aniwave/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ext {
extName = 'Aniwave'
pkgNameSuffix = 'en.nineanime'
extClass = '.Aniwave'
extVersionCode = 60
extVersionCode = 61
libVersion = '13'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class VidsrcExtractor(private val client: OkHttpClient, private val headers: Hea

private val keys by lazy {
noCacheClient.newCall(
GET("https://raw.githubusercontent.com/Claudemirovsky/worstsource-keys/keys/keys.json", cache = cacheControl),
GET("https://raw.githubusercontent.com/J4zzyB1te7s/keys/keys/keys.json", cache = cacheControl),
).execute().parseAs<List<String>>()
}

Expand All @@ -58,7 +58,7 @@ class VidsrcExtractor(private val client: OkHttpClient, private val headers: Hea
response.parseAs<MediaResponseBody>()
}.getOrElse { // Keys are out of date
val newKeys = noCacheClient.newCall(
GET("https://raw.githubusercontent.com/Claudemirovsky/worstsource-keys/keys/keys.json", cache = cacheControl),
GET("https://raw.githubusercontent.com/J4zzyB1te7s/keys/keys/keys.json", cache = cacheControl),
).execute().parseAs<List<String>>()
val newApiUrL = getApiUrl(embedLink, newKeys)
client.newCall(
Expand Down

0 comments on commit 6445e4d

Please sign in to comment.