mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed XCine
This commit is contained in:
parent
771643a9d7
commit
b205d0d2e4
4 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 2
|
||||
version = 3
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -9,15 +9,15 @@ import com.lagradost.cloudstream3.utils.ExtractorLink
|
|||
import com.lagradost.cloudstream3.utils.Qualities
|
||||
import com.lagradost.cloudstream3.utils.loadExtractor
|
||||
|
||||
class Xcineio : MainAPI() {
|
||||
override var name = "Xcine.io"
|
||||
override var mainUrl = "https://www5.xcine.io"
|
||||
class XCine : MainAPI() {
|
||||
override var name = "XCine"
|
||||
override var mainUrl = "https://xcine.info"
|
||||
override var lang = "de"
|
||||
override val hasQuickSearch = true
|
||||
override val usesWebView = false
|
||||
override val hasMainPage = true
|
||||
override val supportedTypes = setOf(TvType.TvSeries, TvType.Movie)
|
||||
private val mainAPI = "https://api.xcine.io"
|
||||
private val mainAPI = "https://api.xcine.info"
|
||||
|
||||
override val mainPage = mainPageOf(
|
||||
"$mainAPI/data/browse/?lang=2&keyword=&year=&rating=&votes=&genre=&country=&cast=&directors=&type=movies&order_by=trending&page=" to "Trending",
|
|
@ -6,10 +6,10 @@ import com.lagradost.cloudstream3.plugins.Plugin
|
|||
import android.content.Context
|
||||
|
||||
@CloudstreamPlugin
|
||||
class XcineioPlugin: Plugin() {
|
||||
class XCinePlugin: Plugin() {
|
||||
override fun load(context: Context) {
|
||||
// All providers should be added in this manner. Please don't edit the providers list directly.
|
||||
registerMainAPI(Xcineio())
|
||||
registerMainAPI(XCine())
|
||||
registerExtractorAPI(StreamTapeAdblockuser())
|
||||
registerExtractorAPI(StreamTapeTo())
|
||||
registerExtractorAPI(Mixdrp())
|
Loading…
Reference in a new issue