From 13469ff12a4fdd565b3423210029ffd946bd43b7 Mon Sep 17 00:00:00 2001 From: Zaw <42999156+ImZaw@users.noreply.github.com> Date: Fri, 26 Aug 2022 01:55:26 +0300 Subject: [PATCH] disable faselhd, make shahid4u grabbing links faster --- .../src/main/kotlin/com/shahid4u/Shahid4uProvider.kt | 2 +- settings.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Shahid4uProvider/src/main/kotlin/com/shahid4u/Shahid4uProvider.kt b/Shahid4uProvider/src/main/kotlin/com/shahid4u/Shahid4uProvider.kt index edf9388..d3d444f 100644 --- a/Shahid4uProvider/src/main/kotlin/com/shahid4u/Shahid4uProvider.kt +++ b/Shahid4uProvider/src/main/kotlin/com/shahid4u/Shahid4uProvider.kt @@ -162,7 +162,7 @@ class Shahid4u : MainAPI() { val watchUrl = "$data/watch" app.get(watchUrl).document.select( ".servers-list li:contains(ok), li:contains(Streamtape), li:contains(DoodStream), li:contains(Uqload), li:contains(Voe), li:contains(VIDBOM), li:contains(Upstream)" - ).forEach { + ).apmap { val id = it.attr("data-id") val i = it.attr("data-i") val sourceUrl = app.post( diff --git a/settings.gradle.kts b/settings.gradle.kts index ff7d684..006368e 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,6 +1,6 @@ rootProject.name = "CloudstreamExtensionsArabic" -val disabled = listOf("EgyBestProvider") +val disabled = listOf("EgyBestProvider", "FaselHDProvider") File(rootDir, ".").eachDir { dir -> if (!disabled.contains(dir.name) && File(dir, "build.gradle.kts").exists()) {