mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Update VfFilmProvider.kt (#184)
This commit is contained in:
parent
d338639290
commit
de3d3ce3a4
1 changed files with 3 additions and 3 deletions
|
@ -10,9 +10,9 @@ import org.jsoup.Jsoup
|
||||||
// referer = https://vf-film.org, USERAGENT ALSO REQUIRED
|
// referer = https://vf-film.org, USERAGENT ALSO REQUIRED
|
||||||
class VfFilmProvider : MainAPI() {
|
class VfFilmProvider : MainAPI() {
|
||||||
override val mainUrl: String
|
override val mainUrl: String
|
||||||
get() = "https://vf-film.org"
|
get() = "https://vf-film.me"
|
||||||
override val name: String
|
override val name: String
|
||||||
get() = "vf-film.org"
|
get() = "vf-film.me"
|
||||||
|
|
||||||
override val lang: String = "fr"
|
override val lang: String = "fr"
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ class VfFilmProvider : MainAPI() {
|
||||||
val i = numberPlayer.toString()
|
val i = numberPlayer.toString()
|
||||||
val trid = Regex("iframe .*trid=(.*?)&").find(document.html())?.groupValues?.get(1)
|
val trid = Regex("iframe .*trid=(.*?)&").find(document.html())?.groupValues?.get(1)
|
||||||
|
|
||||||
val data = getDirect("https://vf-film.org/?trembed=$i&trid=$trid&trtype=1")
|
val data = getDirect("https://vf-film.me/?trembed=$i&trid=$trid&trtype=1")
|
||||||
|
|
||||||
|
|
||||||
return MovieLoadResponse(
|
return MovieLoadResponse(
|
||||||
|
|
Loading…
Reference in a new issue