Merge remote-tracking branch 'origin/master'

This commit is contained in:
lisa 2023-12-20 21:54:28 +07:00
commit ec145049a1

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