Fix load movie for vostfree

This commit is contained in:
Eddy 2022-09-13 11:38:27 +02:00
parent ec3edbb336
commit fbc3585980
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ class FrenchStreamProvider : MainAPI() {
override suspend fun search(query: String): List<SearchResponse> {
val link = "$mainUrl/?do=search&subaction=search&story=$query" // search'
var mediaType = TvType.Anime
val document =
app.post(link).document // app.get() permet de télécharger la page html avec une requete HTTP (get)
val results = document.select("div#dle-content > > div.short")
@ -224,7 +224,7 @@ class FrenchStreamProvider : MainAPI() {
val type = select("span.mli-eps").text()
val title = select("div.short-title").text()
val link = select("a.short-poster").attr("href").replace("wvw.","") //wvw is an issue
var quality = getQualityFromString("")
var quality: SearchQuality?
if (qualityExtracted.contains("HDLight")) {
quality = getQualityFromString("HD")
} else if (qualityExtracted.contains("Bdrip")) {

View File

@ -127,7 +127,7 @@ class VostfreeProvider : MainAPI() {
val seasontext = meta?.select("ul.slide-top > li:last-child > b:last-child")?.text()
var indication: String? = null
if (seasontext != null) {
if (seasontext != null && !seasontext.contains("""([a-zA-Z])""".toRegex())) {
seasonNumber = seasontext.toInt()
if (seasonNumber!! < 1) { // seem a an OVA has 0 as season number

View File

@ -30,7 +30,7 @@ class WiflixProvider : MainAPI() {
override suspend fun search(query: String): List<SearchResponse> {
val link =
"$mainUrl/index.php?do=search&subaction=search&story=$query&submit=Submit+Query" // search'
var mediaType = TvType.Anime
val document =
app.post(link).document // app.get() permet de télécharger la page html avec une requete HTTP (get)
val results = document.select("div#dle-content > div.clearfix")