2
1
Fork 1
mirror of https://github.com/yoyzo/arab synced 2024-08-15 03:15:00 +00:00
This commit is contained in:
Zaw 2023-03-21 21:34:11 +03:00
parent 6a933ef4cd
commit a27d8587c0

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