This commit is contained in:
lisa 2023-12-21 01:34:21 +07:00
parent d94f79e9a7
commit f05a3cfc15

View file

@ -2093,7 +2093,7 @@ object SoraExtractor : SoraStream() {
media.third.substringAfterLast("/") to iframe.substringAfterLast("/") media.third.substringAfterLast("/") to iframe.substringAfterLast("/")
.substringBefore("-") .substringBefore("-")
} }
val res = app.get(fixUrl(iframe, api), verify = false) val res = app.get(fixUrl(iframe, api))
delay(2000) 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)