From 5fb40f4a5a2d0abb351ef68fcf11a1a7035ab399 Mon Sep 17 00:00:00 2001 From: Zaw <42999156+ImZaw@users.noreply.github.com> Date: Sat, 27 Aug 2022 20:54:45 +0300 Subject: [PATCH] little fix for shahid4u --- Shahid4uProvider/build.gradle.kts | 2 +- .../src/main/kotlin/com/shahid4u/Shahid4uProvider.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Shahid4uProvider/build.gradle.kts b/Shahid4uProvider/build.gradle.kts index f9dd10a..f29aee4 100644 --- a/Shahid4uProvider/build.gradle.kts +++ b/Shahid4uProvider/build.gradle.kts @@ -1,4 +1,4 @@ -version = 2 +version = 3 cloudstream { description = "" diff --git a/Shahid4uProvider/src/main/kotlin/com/shahid4u/Shahid4uProvider.kt b/Shahid4uProvider/src/main/kotlin/com/shahid4u/Shahid4uProvider.kt index d3d444f..5125ab3 100644 --- a/Shahid4uProvider/src/main/kotlin/com/shahid4u/Shahid4uProvider.kt +++ b/Shahid4uProvider/src/main/kotlin/com/shahid4u/Shahid4uProvider.kt @@ -169,7 +169,7 @@ class Shahid4u : MainAPI() { "${data.getDomainFromUrl()}/wp-content/themes/Shahid4u-WP_HOME/Ajaxat/Single/Server.php", headers = mapOf("referer" to watchUrl, "x-requested-with" to "XMLHttpRequest"), data = mapOf("id" to id, "i" to i) - ).document.select("iframe").attr("src") + ).document.select("iframe").attr("src").replace(" ", "") loadExtractor(sourceUrl, watchUrl, subtitleCallback, callback) } return true