fixed Rstream

This commit is contained in:
hexated 2023-02-19 01:29:16 +07:00
parent 46644dd49f
commit ae6052a901

View file

@ -1749,14 +1749,14 @@ object SoraExtractor : SoraStream() {
val link = Regex("\"file\":\"(http.*?)\"").find(res)?.groupValues?.getOrNull(1) ?: return val link = Regex("\"file\":\"(http.*?)\"").find(res)?.groupValues?.getOrNull(1) ?: return
delay(1000) delay(1000)
if(!app.get(link, referer = mainUrl).isSuccessful) return if(!app.get(link, referer = rStreamAPI).isSuccessful) return
callback.invoke( callback.invoke(
ExtractorLink( ExtractorLink(
"RStream", "RStream",
"RStream", "RStream",
link, link,
mainUrl, rStreamAPI,
Qualities.P720.value, Qualities.P720.value,
link.contains(".m3u8") link.contains(".m3u8")
) )