mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed quality and size in UHDMovies
This commit is contained in:
parent
6c10e59ee5
commit
fd2b90c895
1 changed files with 5 additions and 5 deletions
|
@ -1215,14 +1215,14 @@ object SoraExtractor : SoraStream() {
|
|||
.mapNotNull {
|
||||
if (season == null) {
|
||||
Triple(
|
||||
it.ownText(),
|
||||
it.selectFirst("span")?.text(),
|
||||
it.text(),
|
||||
it.selectFirst("span")?.text() ?: it.select("strong").last()?.text() ?: "",
|
||||
it.nextElementSibling()?.select("a")?.attr("href")
|
||||
)
|
||||
} else {
|
||||
Triple(
|
||||
it.ownText(),
|
||||
it.selectFirst("span")?.text(),
|
||||
it.text(),
|
||||
it.selectFirst("span")?.text() ?: it.select("strong").last()?.text() ?: "",
|
||||
it.nextElementSibling()?.select("a:contains(Episode $episode)")
|
||||
?.attr("href")
|
||||
)
|
||||
|
@ -1246,7 +1246,7 @@ object SoraExtractor : SoraStream() {
|
|||
|
||||
val videoQuality = Regex("(\\d{3,4})p").find(quality)?.groupValues?.getOrNull(1)?.toIntOrNull()
|
||||
?: Qualities.Unknown.value
|
||||
val videoSize = size?.substringBeforeLast("/")
|
||||
val videoSize = size.substringBeforeLast("/")
|
||||
callback.invoke(
|
||||
ExtractorLink(
|
||||
"UHDMovies [$videoSize]",
|
||||
|
|
Loading…
Reference in a new issue