Skip to content

Commit

Permalink
15
Browse files Browse the repository at this point in the history
  • Loading branch information
ne1work authored Jul 28, 2024
1 parent c068622 commit 1c5c883
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Kinoger/src/main/kotlin/com/ne1work/Kinoger.kt
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ class Kinoger : MainAPI() {
) {
loadExtractor(url, referer, subtitleCallback) { link ->
if(link.quality == Qualities.Unknown.value) {
callback.invoke(
ExtractorLink(
val newLink = ExtractorLink(
link.source,
link.name,
link.url,
Expand All @@ -141,8 +140,10 @@ class Kinoger : MainAPI() {
link.type,
link.headers,
link.extractorData
)
)
)
callback(newLink)
} else {
callback(link)
}
}
}
Expand Down

0 comments on commit 1c5c883

Please sign in to comment.