little fix for shahid4u

This commit is contained in:
Zaw 2022-08-27 20:54:45 +03:00
parent 4d3c20383d
commit 5fb40f4a5a
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
version = 2
version = 3
cloudstream {
description = ""

View File

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