mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
small fix SoraExtractor
This commit is contained in:
parent
055708cb79
commit
2736779769
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 3
|
version = 4
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -92,9 +92,9 @@ object SoraExtractor : SoraStream() {
|
||||||
callback: (ExtractorLink) -> Unit
|
callback: (ExtractorLink) -> Unit
|
||||||
) {
|
) {
|
||||||
val url = if (season == null) {
|
val url = if (season == null) {
|
||||||
"$vidSrcAPI/embed/id=$id"
|
"$vidSrcAPI/embed/$id"
|
||||||
} else {
|
} else {
|
||||||
"$mainUrl/embed/$id/${season}-${episode}"
|
"$vidSrcAPI/embed/$id/${season}-${episode}"
|
||||||
}
|
}
|
||||||
|
|
||||||
loadExtractor(url, null, subtitleCallback, callback)
|
loadExtractor(url, null, subtitleCallback, callback)
|
||||||
|
|
Loading…
Reference in a new issue