mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
0c93b53898
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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue