2
1
Fork 1
mirror of https://github.com/yoyzo/arab synced 2024-08-15 03:15:00 +00:00

FaselHD Update

This commit is contained in:
Zaw 2023-03-21 21:26:48 +03:00
parent e4462170a7
commit 6a933ef4cd
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,4 @@
version = 6 version = 7
cloudstream { cloudstream {
authors = listOf( "ImZaw" ) authors = listOf( "ImZaw" )

View file

@ -135,9 +135,10 @@ class FaselHD : MainAPI() {
} }
doc.select("div[id=\"seasonList\"] div[class=\"col-xl-2 col-lg-3 col-md-6\"] div.seasonDiv") doc.select("div[id=\"seasonList\"] div[class=\"col-xl-2 col-lg-3 col-md-6\"] div.seasonDiv")
.not(".active").apmap { it -> .not(".active").apmap { it ->
var s = app.get("$mainUrl/?p="+it.attr("data-href")).document val id = it.attr("onclick").replace(".*\/\?p=|'".toRegex(), "")
var s = app.get("$mainUrl/?p="+id).document
if(s.select("title").text() == "Just a moment...") { if(s.select("title").text() == "Just a moment...") {
s = app.get("$alternativeUrl/?p="+it.attr("data-href"), interceptor = cfKiller).document s = app.get("$alternativeUrl/?p="+id, interceptor = cfKiller).document
} }
s.select("div.epAll a").map { s.select("div.epAll a").map {
episodes.add( episodes.add(