This commit is contained in:
alex 2024-01-11 05:07:40 +07:00
parent 7f23d6e4bf
commit 852796cc15
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
import org.jetbrains.kotlin.konan.properties.Properties import org.jetbrains.kotlin.konan.properties.Properties
// use an integer for version numbers // use an integer for version numbers
version = 214 version = 215
android { android {
defaultConfig { defaultConfig {

View file

@ -12,7 +12,6 @@ import com.lagradost.cloudstream3.app
import com.lagradost.cloudstream3.base64Decode import com.lagradost.cloudstream3.base64Decode
import com.lagradost.cloudstream3.extractors.Jeniusplay import com.lagradost.cloudstream3.extractors.Jeniusplay
import com.lagradost.cloudstream3.extractors.PixelDrain import com.lagradost.cloudstream3.extractors.PixelDrain
import com.lagradost.cloudstream3.extractors.Vidplay
import com.lagradost.cloudstream3.utils.* import com.lagradost.cloudstream3.utils.*
import java.math.BigInteger import java.math.BigInteger
import java.security.MessageDigest import java.security.MessageDigest

View file

@ -764,8 +764,9 @@ object SoraExtractor : SoraStream() {
val mediaId = app.get(url).document.selectFirst("ul.episodes li a")?.attr("data-id") val mediaId = app.get(url).document.selectFirst("ul.episodes li a")?.attr("data-id")
?: return ?: return
app.get("$vidsrctoAPI/ajax/embed/episode/$mediaId/sources") app.get("$vidsrctoAPI/ajax/embed/episode/$mediaId/sources", headers = mapOf(
.parsedSafe<VidsrctoSources>()?.result?.apmap { "X-Requested-With" to "XMLHttpRequest"
)).parsedSafe<VidsrctoSources>()?.result?.apmap {
val encUrl = app.get("$vidsrctoAPI/ajax/embed/source/${it.id}") val encUrl = app.get("$vidsrctoAPI/ajax/embed/source/${it.id}")
.parsedSafe<VidsrctoResponse>()?.result?.url .parsedSafe<VidsrctoResponse>()?.result?.url
loadExtractor( loadExtractor(