Merge remote-tracking branch 'origin/master'

This commit is contained in:
LagradOst 2022-06-29 03:20:41 +02:00
commit 0c93b53898
4 changed files with 6 additions and 6 deletions

View file

@ -209,6 +209,8 @@ class EgyBestProvider : MainAPI() {
return true*/ return true*/
val requestJSON = app.get("https://api.zr5.repl.co/egybest?url=$data").text val requestJSON = app.get("https://api.zr5.repl.co/egybest?url=$data").text
// To solve this you need to send a verify request which is pretty hidden, see
// https://vear.egybest.deals/tvc.php?verify=.......
val jsonArray = parseJson<List<Sources>>(requestJSON) val jsonArray = parseJson<List<Sources>>(requestJSON)
for (i in jsonArray) { for (i in jsonArray) {
val quality = i.quality val quality = i.quality

View file

@ -8,7 +8,7 @@ import com.lagradost.cloudstream3.utils.loadExtractor
import org.jsoup.Jsoup import org.jsoup.Jsoup
class HDMovie5 : MainAPI() { class HDMovie5 : MainAPI() {
override var mainUrl = "https://hdmovie2.tv" override var mainUrl = "https://hdmovie2.to"
override var name = "HDMovie" override var name = "HDMovie"
override var lang = "hi" override var lang = "hi"
@ -137,7 +137,6 @@ class HDMovie5 : MainAPI() {
callback: (ExtractorLink) -> Unit callback: (ExtractorLink) -> Unit
): Boolean { ): Boolean {
return data.split(",").apmapIndexed { index, it -> return data.split(",").apmapIndexed { index, it ->
//println("loadLinks:::: $index $it")
val p = app.post( val p = app.post(
"$mainUrl/wp-admin/admin-ajax.php", "$mainUrl/wp-admin/admin-ajax.php",
data = mapOf( data = mapOf(
@ -147,7 +146,6 @@ class HDMovie5 : MainAPI() {
"type" to "movie" "type" to "movie"
) )
) )
// println("TEXT::::: ${p.text}")
val html = p.parsedSafe<PlayerAjaxResponse>()?.embedURL ?: return@apmapIndexed false val html = p.parsedSafe<PlayerAjaxResponse>()?.embedURL ?: return@apmapIndexed false
val doc = Jsoup.parse(html) val doc = Jsoup.parse(html)
val link = doc.select("iframe").attr("src") val link = doc.select("iframe").attr("src")

View file

@ -146,7 +146,7 @@
"EgyBestProvider": { "EgyBestProvider": {
"language": "ar", "language": "ar",
"name": "EgyBest", "name": "EgyBest",
"status": 1, "status": 0,
"url": "https://www.egy.best" "url": "https://www.egy.best"
}, },
"ElifilmsProvider": { "ElifilmsProvider": {
@ -175,7 +175,7 @@
"FaselHDProvider": { "FaselHDProvider": {
"language": "ar", "language": "ar",
"name": "FaselHD", "name": "FaselHD",
"status": 1, "status": 0,
"url": "https://faselhd.io" "url": "https://faselhd.io"
}, },
"FilmanProvider": { "FilmanProvider": {

View file

@ -97,7 +97,7 @@
"EgyBestProvider": { "EgyBestProvider": {
"name": "EgyBest", "name": "EgyBest",
"url": "https://egy.best", "url": "https://egy.best",
"status": 1 "status": 0
}, },
"EntrepeliculasyseriesProvider": { "EntrepeliculasyseriesProvider": {
"name": "EntrePeliculasySeries", "name": "EntrePeliculasySeries",