mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
bump nicehttp
This commit is contained in:
parent
164f2129ae
commit
fbae10d9e3
3 changed files with 4 additions and 7 deletions
|
@ -64,6 +64,7 @@ fun getBaseUrl(url: String): String {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
fun getLanguage(language: String?): String? {
|
||||
return SubtitleHelper.fromTwoLettersToLanguage(language ?: return null)
|
||||
?: SubtitleHelper.fromTwoLettersToLanguage(language.substringBefore("-"))
|
||||
|
|
|
@ -61,6 +61,7 @@ open class SoraStream : TmdbProvider() {
|
|||
|
||||
/** AUTHOR : Hexated & Sora */
|
||||
companion object {
|
||||
// TOOLS
|
||||
private const val tmdbAPI = "https://api.themoviedb.org/3"
|
||||
const val tmdb2mal = "https://tmdb2mal.slidemovies.org"
|
||||
const val jikanAPI = "https://api.jikan.moe/v4"
|
||||
|
@ -68,12 +69,7 @@ open class SoraStream : TmdbProvider() {
|
|||
const val consumetAnilistAPI = "https://api.consumet.org/meta/anilist"
|
||||
const val baymovies = "https://opengatewayindex.pages.dev"
|
||||
|
||||
private val apiKey =
|
||||
base64DecodeAPI("ZTM=NTg=MjM=MjM=ODc=MzI=OGQ=MmE=Nzk=Nzk=ZjI=NTA=NDY=NDA=MzA=YjA=") // PLEASE DON'T STEAL
|
||||
// private val mainAPI =
|
||||
// base64DecodeAPI("cHA=LmE=ZWw=cmM=dmU=aC4=dGM=d2E=eHA=Ly8=czo=dHA=aHQ=")
|
||||
// private var mainServerAPI =
|
||||
// base64DecodeAPI("cA==YXA=bC4=Y2U=ZXI=LnY=aWU=b3Y=LW0=cmE=c28=Ly8=czo=dHA=aHQ=")
|
||||
private val apiKey = base64DecodeAPI("ZTM=NTg=MjM=MjM=ODc=MzI=OGQ=MmE=Nzk=Nzk=ZjI=NTA=NDY=NDA=MzA=YjA=") // PLEASE DON'T STEAL
|
||||
|
||||
// ALL SOURCES
|
||||
const val twoEmbedAPI = "https://www.2embed.to"
|
||||
|
|
|
@ -83,7 +83,7 @@ subprojects {
|
|||
// but you dont need to include any of them if you dont need them
|
||||
// https://github.com/recloudstream/cloudstream/blob/master/app/build.gradle
|
||||
implementation(kotlin("stdlib")) // adds standard kotlin features, like listOf, mapOf etc
|
||||
implementation("com.github.Blatzar:NiceHttp:0.4.1") // http library
|
||||
implementation("com.github.Blatzar:NiceHttp:0.4.2") // http library
|
||||
implementation("org.jsoup:jsoup:1.15.3") // html parser
|
||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1")
|
||||
implementation("io.karn:khttp-android:0.1.2")
|
||||
|
|
Loading…
Reference in a new issue