mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Disabled Egy.best (their verification needs cracking) and FaselHD (cloudflare). Fixed HDMovie5
This commit is contained in:
parent
7bf77cb408
commit
1a24e1f207
4 changed files with 6 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue