Update SoraExtractor.kt

This commit is contained in:
Hexated 2023-12-20 15:33:26 +07:00 committed by GitHub
parent 8f84b3a05d
commit 2ec22f8685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2094,7 +2094,7 @@ object SoraExtractor : SoraStream() {
.substringBefore("-")
}
val res = app.get(fixUrl(iframe, api), verify = false)
delay(1000)
delay(2000)
val serverUrl = res.document.selectFirst("script:containsData(pushState)")?.data()?.let {
""",\s*'([^']+)""".toRegex().find(it)?.groupValues?.get(1)
} ?: return