Skip to content

Commit

Permalink
Update Invidious URL (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna712 authored Dec 21, 2023
1 parent e87a366 commit 2156bcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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 = 2
version = 3

cloudstream {
// All of these properties are optional, you can safely remove them
Expand Down
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

Check failure on line 10 in InvidiousProvider/src/main/kotlin/recloudstream/InvidiousProvider.kt

View workflow job for this annotation

GitHub Actions / build

Class 'com.lagradost.cloudstream3.MainAPI' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
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)

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 2156bcb

Please sign in to comment.