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)
|
extractMirrorUHD(bitLink, base)
|
||||||
}
|
}
|
||||||
|
|
||||||
val videoQuality =
|
val tags =
|
||||||
Regex("\\d{3,4}[Pp]\\.?(.*?)\\[").find(quality)?.groupValues?.getOrNull(1)?.trim()
|
Regex("\\d{3,4}[Pp]\\.?(.*?)\\[").find(quality)?.groupValues?.getOrNull(1)?.replace(".", " ")?.trim()
|
||||||
?: ""
|
?: ""
|
||||||
val qualities =
|
val qualities =
|
||||||
Regex("(\\d{3,4})[Pp]").find(quality)?.groupValues?.getOrNull(1)?.toIntOrNull()
|
Regex("(\\d{3,4})[Pp]").find(quality)?.groupValues?.getOrNull(1)?.toIntOrNull()
|
||||||
|
@ -1382,8 +1382,8 @@ object SoraExtractor : SoraStream() {
|
||||||
?.let { "[$it]" } ?: quality
|
?.let { "[$it]" } ?: quality
|
||||||
callback.invoke(
|
callback.invoke(
|
||||||
ExtractorLink(
|
ExtractorLink(
|
||||||
"UHDMovies $videoQuality $size",
|
"UHDMovies $tags $size",
|
||||||
"UHDMovies $videoQuality $size",
|
"UHDMovies $tags $size",
|
||||||
downloadLink ?: return@apmap null,
|
downloadLink ?: return@apmap null,
|
||||||
"",
|
"",
|
||||||
qualities
|
qualities
|
||||||
|
|
Loading…
Reference in a new issue