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*/
|
||||
|
||||
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)
|
||||
for (i in jsonArray) {
|
||||
val quality = i.quality
|
||||
|
|
|
@ -8,7 +8,7 @@ import com.lagradost.cloudstream3.utils.loadExtractor
|
|||
import org.jsoup.Jsoup
|
||||
|
||||
class HDMovie5 : MainAPI() {
|
||||
override var mainUrl = "https://hdmovie2.tv"
|
||||
override var mainUrl = "https://hdmovie2.to"
|
||||
override var name = "HDMovie"
|
||||
override var lang = "hi"
|
||||
|
||||
|
@ -137,7 +137,6 @@ class HDMovie5 : MainAPI() {
|
|||
callback: (ExtractorLink) -> Unit
|
||||
): Boolean {
|
||||
return data.split(",").apmapIndexed { index, it ->
|
||||
//println("loadLinks:::: $index $it")
|
||||
val p = app.post(
|
||||
"$mainUrl/wp-admin/admin-ajax.php",
|
||||
data = mapOf(
|
||||
|
@ -147,7 +146,6 @@ class HDMovie5 : MainAPI() {
|
|||
"type" to "movie"
|
||||
)
|
||||
)
|
||||
// println("TEXT::::: ${p.text}")
|
||||
val html = p.parsedSafe<PlayerAjaxResponse>()?.embedURL ?: return@apmapIndexed false
|
||||
val doc = Jsoup.parse(html)
|
||||
val link = doc.select("iframe").attr("src")
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
"EgyBestProvider": {
|
||||
"language": "ar",
|
||||
"name": "EgyBest",
|
||||
"status": 1,
|
||||
"status": 0,
|
||||
"url": "https://www.egy.best"
|
||||
},
|
||||
"ElifilmsProvider": {
|
||||
|
@ -175,7 +175,7 @@
|
|||
"FaselHDProvider": {
|
||||
"language": "ar",
|
||||
"name": "FaselHD",
|
||||
"status": 1,
|
||||
"status": 0,
|
||||
"url": "https://faselhd.io"
|
||||
},
|
||||
"FilmanProvider": {
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
"EgyBestProvider": {
|
||||
"name": "EgyBest",
|
||||
"url": "https://egy.best",
|
||||
"status": 1
|
||||
"status": 0
|
||||
},
|
||||
"EntrepeliculasyseriesProvider": {
|
||||
"name": "EntrePeliculasySeries",
|
||||
|
|
Loading…
Reference in a new issue