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
|
// use an integer for version numbers
|
||||||
version = 2
|
version = 3
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -9,15 +9,15 @@ import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||||
import com.lagradost.cloudstream3.utils.Qualities
|
import com.lagradost.cloudstream3.utils.Qualities
|
||||||
import com.lagradost.cloudstream3.utils.loadExtractor
|
import com.lagradost.cloudstream3.utils.loadExtractor
|
||||||
|
|
||||||
class Xcineio : MainAPI() {
|
class XCine : MainAPI() {
|
||||||
override var name = "Xcine.io"
|
override var name = "XCine"
|
||||||
override var mainUrl = "https://www5.xcine.io"
|
override var mainUrl = "https://xcine.info"
|
||||||
override var lang = "de"
|
override var lang = "de"
|
||||||
override val hasQuickSearch = true
|
override val hasQuickSearch = true
|
||||||
override val usesWebView = false
|
override val usesWebView = false
|
||||||
override val hasMainPage = true
|
override val hasMainPage = true
|
||||||
override val supportedTypes = setOf(TvType.TvSeries, TvType.Movie)
|
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(
|
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",
|
"$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
|
import android.content.Context
|
||||||
|
|
||||||
@CloudstreamPlugin
|
@CloudstreamPlugin
|
||||||
class XcineioPlugin: Plugin() {
|
class XCinePlugin: Plugin() {
|
||||||
override fun load(context: Context) {
|
override fun load(context: Context) {
|
||||||
// All providers should be added in this manner. Please don't edit the providers list directly.
|
// All providers should be added in this manner. Please don't edit the providers list directly.
|
||||||
registerMainAPI(Xcineio())
|
registerMainAPI(XCine())
|
||||||
registerExtractorAPI(StreamTapeAdblockuser())
|
registerExtractorAPI(StreamTapeAdblockuser())
|
||||||
registerExtractorAPI(StreamTapeTo())
|
registerExtractorAPI(StreamTapeTo())
|
||||||
registerExtractorAPI(Mixdrp())
|
registerExtractorAPI(Mixdrp())
|
Loading…
Reference in a new issue