Update VfFilmProvider.kt (#184)

This commit is contained in:
amorabda 2021-11-07 13:13:31 +01:00 committed by GitHub
parent d338639290
commit de3d3ce3a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(