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
a41b75b273
commit
73a282f401
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 3
|
||||
version = 4
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -92,9 +92,9 @@ object SoraExtractor : SoraStream() {
|
|||
callback: (ExtractorLink) -> Unit
|
||||
) {
|
||||
val url = if (season == null) {
|
||||
"$vidSrcAPI/embed/id=$id"
|
||||
"$vidSrcAPI/embed/$id"
|
||||
} else {
|
||||
"$mainUrl/embed/$id/${season}-${episode}"
|
||||
"$vidSrcAPI/embed/$id/${season}-${episode}"
|
||||
}
|
||||
|
||||
loadExtractor(url, null, subtitleCallback, callback)
|
||||
|
|
Loading…
Reference in a new issue