mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fix tags in uhdmovies
This commit is contained in:
parent
b47423d641
commit
61f94e0246
1 changed files with 4 additions and 4 deletions
|
@ -1371,8 +1371,8 @@ object SoraExtractor : SoraStream() {
|
|||
extractMirrorUHD(bitLink, base)
|
||||
}
|
||||
|
||||
val videoQuality =
|
||||
Regex("\\d{3,4}[Pp]\\.?(.*?)\\[").find(quality)?.groupValues?.getOrNull(1)?.trim()
|
||||
val tags =
|
||||
Regex("\\d{3,4}[Pp]\\.?(.*?)\\[").find(quality)?.groupValues?.getOrNull(1)?.replace(".", " ")?.trim()
|
||||
?: ""
|
||||
val qualities =
|
||||
Regex("(\\d{3,4})[Pp]").find(quality)?.groupValues?.getOrNull(1)?.toIntOrNull()
|
||||
|
@ -1382,8 +1382,8 @@ object SoraExtractor : SoraStream() {
|
|||
?.let { "[$it]" } ?: quality
|
||||
callback.invoke(
|
||||
ExtractorLink(
|
||||
"UHDMovies $videoQuality $size",
|
||||
"UHDMovies $videoQuality $size",
|
||||
"UHDMovies $tags $size",
|
||||
"UHDMovies $tags $size",
|
||||
downloadLink ?: return@apmap null,
|
||||
"",
|
||||
qualities
|
||||
|
|
Loading…
Reference in a new issue