Skip to content

Commit

Permalink
Update Invidious URL (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna712 authored Jun 30, 2024
1 parent 9d772d4 commit 541842e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions InvidiousProvider/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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%"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -134,4 +134,4 @@ class InvidiousProvider : MainAPI() { // all providers must be an instance of Ma
companion object {
fun String.encodeUri() = URLEncoder.encode(this, "utf8")
}
}
}

0 comments on commit 541842e

Please sign in to comment.