diff --git a/FrenchStreamProvider/src/main/kotlin/com/lagradost/FrenchStreamProvider.kt b/FrenchStreamProvider/src/main/kotlin/com/lagradost/FrenchStreamProvider.kt index e6e4845..4eb69af 100644 --- a/FrenchStreamProvider/src/main/kotlin/com/lagradost/FrenchStreamProvider.kt +++ b/FrenchStreamProvider/src/main/kotlin/com/lagradost/FrenchStreamProvider.kt @@ -211,6 +211,9 @@ class FrenchStreamProvider : MainAPI() { if (playerName.contains("Stream.B")) { playerName = it.first.replace("Stream.B", "StreamSB") } + if (it.second.contains("streamlare")) { + playerName = "Streamlare" + } if (playerName.contains(extractor.name, ignoreCase = true)) { val header = app.get( "https" + it.second.split("https").get(1), @@ -219,7 +222,6 @@ class FrenchStreamProvider : MainAPI() { println(header) val urlplayer = it.second var playerUrl = when (!urlplayer.isNullOrEmpty()) { - urlplayer.contains("uqload") -> it.second urlplayer.contains("opsktp.com") -> header.get("location") .toString() // case where there is redirection to opsktp @@ -307,3 +309,4 @@ class FrenchStreamProvider : MainAPI() { } +