From 2156bcb5bd3726216bc64e509ac12eba5929c099 Mon Sep 17 00:00:00 2001 From: Luna712 <142361265+Luna712@users.noreply.github.com> Date: Thu, 21 Dec 2023 12:15:53 -0700 Subject: [PATCH] Update Invidious URL (#6) --- InvidiousProvider/build.gradle.kts | 2 +- .../src/main/kotlin/recloudstream/InvidiousProvider.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/InvidiousProvider/build.gradle.kts b/InvidiousProvider/build.gradle.kts index 49ab34e..bb5c836 100644 --- a/InvidiousProvider/build.gradle.kts +++ b/InvidiousProvider/build.gradle.kts @@ -1,5 +1,5 @@ // use an integer for version numbers -version = 2 +version = 3 cloudstream { // All of these properties are optional, you can safely remove them diff --git a/InvidiousProvider/src/main/kotlin/recloudstream/InvidiousProvider.kt b/InvidiousProvider/src/main/kotlin/recloudstream/InvidiousProvider.kt index b91162b..b1deec2 100644 --- a/InvidiousProvider/src/main/kotlin/recloudstream/InvidiousProvider.kt +++ b/InvidiousProvider/src/main/kotlin/recloudstream/InvidiousProvider.kt @@ -8,7 +8,7 @@ import com.lagradost.cloudstream3.utils.loadExtractor import java.net.URLEncoder class InvidiousProvider : MainAPI() { // all providers must be an instance of MainAPI - override var mainUrl = "https://y.com.sb" + override var mainUrl = "https://vid.puffyan.us" override var name = "Invidious" // name of provider override val supportedTypes = setOf(TvType.Others) @@ -134,4 +134,4 @@ class InvidiousProvider : MainAPI() { // all providers must be an instance of Ma companion object { fun String.encodeUri() = URLEncoder.encode(this, "utf8") } -} \ No newline at end of file +}