From 67df7aae15e4c89543b29ecb48e8875568b9a5ed Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Wed, 17 Aug 2022 17:17:49 +0200 Subject: [PATCH] update ZaluknijProvider --- .../src/main/kotlin/com/lagradost/FilmanProvider.kt | 2 +- .../src/main/kotlin/com/lagradost/VizjerProvider.kt | 2 +- ZaluknijProvider/build.gradle.kts | 2 +- .../src/main/kotlin/com/lagradost/ZaluknijProvider.kt | 9 +++++++-- .../main/kotlin/com/lagradost/ZaluknijProviderPlugin.kt | 1 + 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/FilmanProvider/src/main/kotlin/com/lagradost/FilmanProvider.kt b/FilmanProvider/src/main/kotlin/com/lagradost/FilmanProvider.kt index 3232210..1ecec45 100644 --- a/FilmanProvider/src/main/kotlin/com/lagradost/FilmanProvider.kt +++ b/FilmanProvider/src/main/kotlin/com/lagradost/FilmanProvider.kt @@ -10,7 +10,7 @@ import org.jsoup.select.Elements class FilmanProvider : MainAPI() { override var mainUrl = "https://filman.cc" - override var name = "filman.cc" + override var name = "Filman.cc" override var lang = "pl" override val hasMainPage = true override val supportedTypes = setOf( diff --git a/VizjerProvider/src/main/kotlin/com/lagradost/VizjerProvider.kt b/VizjerProvider/src/main/kotlin/com/lagradost/VizjerProvider.kt index 444793c..9cbb90a 100644 --- a/VizjerProvider/src/main/kotlin/com/lagradost/VizjerProvider.kt +++ b/VizjerProvider/src/main/kotlin/com/lagradost/VizjerProvider.kt @@ -10,7 +10,7 @@ import org.jsoup.select.Elements class VizjerProvider : MainAPI() { override var mainUrl = "http://93.185.166.160" - override var name = "vizjer.pl" + override var name = "Vizjer.pl" override var lang = "pl" override val hasMainPage = true override val usesWebView = true diff --git a/ZaluknijProvider/build.gradle.kts b/ZaluknijProvider/build.gradle.kts index 2866981..b7b4ea2 100644 --- a/ZaluknijProvider/build.gradle.kts +++ b/ZaluknijProvider/build.gradle.kts @@ -1,5 +1,5 @@ // use an integer for version numbers -version = 1 +version = 2 cloudstream { diff --git a/ZaluknijProvider/src/main/kotlin/com/lagradost/ZaluknijProvider.kt b/ZaluknijProvider/src/main/kotlin/com/lagradost/ZaluknijProvider.kt index 2a37c73..34cb14c 100644 --- a/ZaluknijProvider/src/main/kotlin/com/lagradost/ZaluknijProvider.kt +++ b/ZaluknijProvider/src/main/kotlin/com/lagradost/ZaluknijProvider.kt @@ -8,9 +8,14 @@ import com.lagradost.cloudstream3.utils.loadExtractor import org.jsoup.Jsoup import org.jsoup.select.Elements -class ZaluknijProvider : MainAPI() { +class Zaluknij1Provider : ZaluknijProvider() { override var mainUrl = "https://zaluknij.xyz/" - override var name = "zaluknij.xyz" + override var name = "Zaluknij.xyz" +} + +class ZaluknijProvider : MainAPI() { + override var mainUrl = "https://zaluknij.cc/" + override var name = "Zaluknij.cc" override var lang = "pl" override val hasMainPage = true override val usesWebView = true diff --git a/ZaluknijProvider/src/main/kotlin/com/lagradost/ZaluknijProviderPlugin.kt b/ZaluknijProvider/src/main/kotlin/com/lagradost/ZaluknijProviderPlugin.kt index f966aa7..2b12d68 100644 --- a/ZaluknijProvider/src/main/kotlin/com/lagradost/ZaluknijProviderPlugin.kt +++ b/ZaluknijProvider/src/main/kotlin/com/lagradost/ZaluknijProviderPlugin.kt @@ -8,6 +8,7 @@ import android.content.Context @CloudstreamPlugin class ZaluknijProviderPlugin: Plugin() { override fun load(context: Context) { + registerMainAPI(Zaluknij1Provider()) registerMainAPI(ZaluknijProvider()) } } \ No newline at end of file