small fix

This commit is contained in:
hexated 2023-08-19 13:26:08 +07:00
parent 8c287e2cd1
commit ad88bb0e9c

View file

@ -563,7 +563,7 @@ object SoraExtractor : SoraStream() {
"${filmxyAPI}/tv/$imdbId" "${filmxyAPI}/tv/$imdbId"
} }
val filmxyCookies = getFilmxyCookies(url) val filmxyCookies = getFilmxyCookies(url)
val doc = session.get(url, cookies = filmxyCookies).document val doc = app.get(url, cookies = filmxyCookies).document
val script = doc.selectFirst("script:containsData(var isSingle)")?.data() ?: return val script = doc.selectFirst("script:containsData(var isSingle)")?.data() ?: return
val sourcesData = val sourcesData =