From 1c0e397829bc751f608e6de61f411b5c082076b1 Mon Sep 17 00:00:00 2001 From: Eddy Date: Wed, 14 Sep 2022 17:50:21 +0200 Subject: [PATCH] In Frenchstream dood is in reality streamlare --- .../src/main/kotlin/com/lagradost/FrenchStreamProvider.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() { } +