mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Update SoraExtractor.kt
This commit is contained in:
parent
8f84b3a05d
commit
2ec22f8685
1 changed files with 1 additions and 1 deletions
|
@ -2094,7 +2094,7 @@ object SoraExtractor : SoraStream() {
|
||||||
.substringBefore("-")
|
.substringBefore("-")
|
||||||
}
|
}
|
||||||
val res = app.get(fixUrl(iframe, api), verify = false)
|
val res = app.get(fixUrl(iframe, api), verify = false)
|
||||||
delay(1000)
|
delay(2000)
|
||||||
val serverUrl = res.document.selectFirst("script:containsData(pushState)")?.data()?.let {
|
val serverUrl = res.document.selectFirst("script:containsData(pushState)")?.data()?.let {
|
||||||
""",\s*'([^']+)""".toRegex().find(it)?.groupValues?.get(1)
|
""",\s*'([^']+)""".toRegex().find(it)?.groupValues?.get(1)
|
||||||
} ?: return
|
} ?: return
|
||||||
|
|
Loading…
Reference in a new issue