From 541842e546cc52fff1d1290181c87fa48bdfd0fd Mon Sep 17 00:00:00 2001
From: Luna712 <142361265+Luna712@users.noreply.github.com>
Date: Sun, 30 Jun 2024 10:52:33 -0600
Subject: [PATCH] Update Invidious URL (#13)

---
 InvidiousProvider/build.gradle.kts                            | 4 ++--
 .../src/main/kotlin/recloudstream/InvidiousProvider.kt        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/InvidiousProvider/build.gradle.kts b/InvidiousProvider/build.gradle.kts
index bb5c836..0709819 100644
--- a/InvidiousProvider/build.gradle.kts
+++ b/InvidiousProvider/build.gradle.kts
@@ -1,5 +1,5 @@
 // use an integer for version numbers
-version = 3
+version = 4
 
 cloudstream {
     // All of these properties are optional, you can safely remove them
@@ -21,4 +21,4 @@ cloudstream {
     // https://recloudstream.github.io/cloudstream/html/app/com.lagradost.cloudstream3/-tv-type/index.html
     tvTypes = listOf("Others")
     iconUrl = "https://www.google.com/s2/favicons?domain=invidious.io&sz=%size%"
-}
+}
\ No newline at end of file
diff --git a/InvidiousProvider/src/main/kotlin/recloudstream/InvidiousProvider.kt b/InvidiousProvider/src/main/kotlin/recloudstream/InvidiousProvider.kt
index b1deec2..23d8a45 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://vid.puffyan.us"
+    override var mainUrl = "https://invidious.privacyredirect.com"
     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