From a27d8587c01f4c78bff897c70dcb52c62e29bd27 Mon Sep 17 00:00:00 2001 From: Zaw <42999156+ImZaw@users.noreply.github.com> Date: Tue, 21 Mar 2023 21:34:11 +0300 Subject: [PATCH] ah --- FaselHDProvider/src/main/kotlin/com/faselhd/FaselHDProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FaselHDProvider/src/main/kotlin/com/faselhd/FaselHDProvider.kt b/FaselHDProvider/src/main/kotlin/com/faselhd/FaselHDProvider.kt index 6847a22..59d508c 100644 --- a/FaselHDProvider/src/main/kotlin/com/faselhd/FaselHDProvider.kt +++ b/FaselHDProvider/src/main/kotlin/com/faselhd/FaselHDProvider.kt @@ -135,7 +135,7 @@ class FaselHD : MainAPI() { } doc.select("div[id=\"seasonList\"] div[class=\"col-xl-2 col-lg-3 col-md-6\"] div.seasonDiv") .not(".active").apmap { it -> - val id = it.attr("onclick").replace(".*\/\?p=|'".toRegex(), "") + val id = it.attr("onclick").replace(".*\\/\\?p=|'".toRegex(), "") var s = app.get("$mainUrl/?p="+id).document if(s.select("title").text() == "Just a moment...") { s = app.get("$alternativeUrl/?p="+id, interceptor = cfKiller).document