27 lines
689 B
Kotlin
27 lines
689 B
Kotlin
package com.lagradost.cloudstream3.movieproviders
|
|
|
|
import com.lagradost.cloudstream3.TvType
|
|
|
|
/** Needs to inherit from MainAPI() to
|
|
* make the app know what functions to call
|
|
*/
|
|
class AsianLoadProvider : VidstreamProviderTemplate() {
|
|
override val name: String
|
|
get() = "AsianLoad"
|
|
|
|
override val mainUrl: String
|
|
get() = "https://asianload.cc"
|
|
|
|
override val homePageUrlList = listOf(
|
|
mainUrl,
|
|
"$mainUrl/recently-added-raw",
|
|
"$mainUrl/movies",
|
|
"$mainUrl/kshow",
|
|
"$mainUrl/popular",
|
|
"$mainUrl/ongoing-series"
|
|
)
|
|
|
|
override val supportedTypes: Set<TvType>
|
|
get() = setOf(TvType.TvSeries, TvType.Movie)
|
|
}
|