mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
small fix
This commit is contained in:
parent
a63238a70d
commit
2fc0824d43
1 changed files with 11 additions and 5 deletions
|
@ -2844,7 +2844,7 @@ object SoraExtractor : SoraStream() {
|
||||||
Triple(
|
Triple(
|
||||||
it.select("td[data-th=File Name]").text(),
|
it.select("td[data-th=File Name]").text(),
|
||||||
it.select("td[data-th=Size]").text(),
|
it.select("td[data-th=Size]").text(),
|
||||||
it.select("div.play_with_vlc_button > a").lastOrNull()?.attr("href")
|
it.selectFirst("div.play_with_vlc_button > a")?.attr("href")
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -2852,7 +2852,7 @@ object SoraExtractor : SoraStream() {
|
||||||
Triple(
|
Triple(
|
||||||
it.name,
|
it.name,
|
||||||
it.size,
|
it.size,
|
||||||
it.stream_link,
|
it.process_link,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2872,13 +2872,18 @@ object SoraExtractor : SoraStream() {
|
||||||
}?.apmap { source ->
|
}?.apmap { source ->
|
||||||
val quality = getIndexQuality(source.first)
|
val quality = getIndexQuality(source.first)
|
||||||
val tags = getIndexQualityTags(source.first)
|
val tags = getIndexQualityTags(source.first)
|
||||||
val video = source.third?.removePrefix("vlc://") ?: return@apmap
|
val video = app.get(
|
||||||
if(!app.get(video).isSuccessful) return@apmap
|
fixUrl(
|
||||||
|
source.third ?: return@apmap,
|
||||||
|
shivamhwAPI
|
||||||
|
)
|
||||||
|
).document.selectFirst("table.rwd-table tr:contains(Direct Download Link) a")
|
||||||
|
?.attr("href")
|
||||||
callback.invoke(
|
callback.invoke(
|
||||||
ExtractorLink(
|
ExtractorLink(
|
||||||
"Shivamhw",
|
"Shivamhw",
|
||||||
"Shivamhw $tags [${source.second}]",
|
"Shivamhw $tags [${source.second}]",
|
||||||
video,
|
video ?: return@apmap,
|
||||||
"",
|
"",
|
||||||
quality,
|
quality,
|
||||||
)
|
)
|
||||||
|
@ -3378,6 +3383,7 @@ data class AllanimeResponses(
|
||||||
data class ShivamhwSources(
|
data class ShivamhwSources(
|
||||||
@JsonProperty("id") val id: String? = null,
|
@JsonProperty("id") val id: String? = null,
|
||||||
@JsonProperty("stream_link") val stream_link: String? = null,
|
@JsonProperty("stream_link") val stream_link: String? = null,
|
||||||
|
@JsonProperty("process_link") val process_link: String? = null,
|
||||||
@JsonProperty("name") val name: String,
|
@JsonProperty("name") val name: String,
|
||||||
@JsonProperty("size") val size: String,
|
@JsonProperty("size") val size: String,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue