[animeowl] fix: Quality preference match
This commit is contained in:
parent
2574c7fbf8
commit
4030234683
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ class OwlExtractor(private val client: OkHttpClient, private val baseUrl: String
|
|||
noRedirectClient.newCall(GET("${stream.url}$jwt")).execute()
|
||||
.use { it.headers["Location"] }?.let {
|
||||
videoList.add(
|
||||
Video(it, "${link.lang} Luffy:${stream.resolution}", it),
|
||||
Video(it, "${link.lang} Luffy:${stream.resolution}p", it),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ class OwlExtractor(private val client: OkHttpClient, private val baseUrl: String
|
|||
return client.newCall(GET(url)).execute().let { it ->
|
||||
if (it.isSuccessful) {
|
||||
it.parseAs<Stream>().url.let {
|
||||
playlistUtils.extractFromHls(it, videoNameGen = { qty -> "$lang $server:$qty" })
|
||||
playlistUtils.extractFromHls(it, videoNameGen = { qty -> "$lang $server:${qty}p" })
|
||||
}
|
||||
} else {
|
||||
emptyList()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue