This commit is contained in:
Zaw 2023-03-21 21:34:11 +03:00
parent 6a933ef4cd
commit a27d8587c0
1 changed files with 1 additions and 1 deletions

View File

@ -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