From bcaa848a3382e72b1ed3703aa89f66b1916ac3ce Mon Sep 17 00:00:00 2001 From: hexated Date: Mon, 20 Feb 2023 03:34:56 +0700 Subject: [PATCH] fixed Smashy again --- SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt index 8c787bdf..ff13dfd5 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraExtractor.kt @@ -1904,7 +1904,7 @@ object SoraExtractor : SoraStream() { "$smashyStreamAPI/playere.php?imdb=$imdbId&season=$season&episode=$episode" } - app.get(url).document.select("div#_default-servers a.server").map { + app.get(url, referer = "https://smashystream.com/").document.select("div#_default-servers a.server").map { it.attr("data-id") to it.text() }.apmap { when {