small fix SoraExtractor

This commit is contained in:
hexated 2022-10-17 11:28:32 +07:00
parent 055708cb79
commit 2736779769
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 3
version = 4
cloudstream {

View file

@ -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)