mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
refactor: speedostream and newpipe, tmdb update (#632)
* migrate speedostream (yomovies) * update tmdb and newpipe
This commit is contained in:
parent
b8917ffa39
commit
1e2a11d6e4
3 changed files with 12 additions and 27 deletions
|
@ -171,7 +171,7 @@ dependencies {
|
||||||
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
|
||||||
androidTestImplementation("androidx.test:core")
|
androidTestImplementation("androidx.test:core")
|
||||||
|
|
||||||
//implementation("io.karn:khttp-android:0.1.2") //okhttp instead
|
// implementation("io.karn:khttp-android:0.1.2") //okhttp instead
|
||||||
// implementation("org.jsoup:jsoup:1.13.1")
|
// implementation("org.jsoup:jsoup:1.13.1")
|
||||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1")
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1")
|
||||||
|
|
||||||
|
@ -199,8 +199,6 @@ dependencies {
|
||||||
// Custom ffmpeg extension for audio codecs
|
// Custom ffmpeg extension for audio codecs
|
||||||
implementation("com.github.recloudstream:media-ffmpeg:1.1.0")
|
implementation("com.github.recloudstream:media-ffmpeg:1.1.0")
|
||||||
|
|
||||||
//implementation("com.google.android.exoplayer:extension-leanback:2.14.0")
|
|
||||||
|
|
||||||
// Bug reports
|
// Bug reports
|
||||||
implementation("ch.acra:acra-core:5.11.0")
|
implementation("ch.acra:acra-core:5.11.0")
|
||||||
implementation("ch.acra:acra-toast:5.11.0")
|
implementation("ch.acra:acra-toast:5.11.0")
|
||||||
|
@ -214,13 +212,13 @@ dependencies {
|
||||||
// subtitle color picker
|
// subtitle color picker
|
||||||
implementation("com.jaredrummler:colorpicker:1.1.0")
|
implementation("com.jaredrummler:colorpicker:1.1.0")
|
||||||
|
|
||||||
//run JS
|
// run JS
|
||||||
// do not upgrade to 1.7.14, since in 1.7.14 Rhino uses the `SourceVersion` class, which is not
|
// do not upgrade to 1.7.14, since in 1.7.14 Rhino uses the `SourceVersion` class, which is not
|
||||||
// available on Android (even when using desugaring), and `NoClassDefFoundError` is thrown
|
// available on Android (even when using desugaring), and `NoClassDefFoundError` is thrown
|
||||||
implementation("org.mozilla:rhino:1.7.13")
|
implementation("org.mozilla:rhino:1.7.13")
|
||||||
|
|
||||||
// TorrentStream
|
// TorrentStream
|
||||||
//implementation("com.github.TorrentStream:TorrentStream-Android:2.7.0")
|
// implementation("com.github.TorrentStream:TorrentStream-Android:2.7.0")
|
||||||
|
|
||||||
// Downloading
|
// Downloading
|
||||||
implementation("androidx.work:work-runtime:2.8.1")
|
implementation("androidx.work:work-runtime:2.8.1")
|
||||||
|
@ -236,11 +234,11 @@ dependencies {
|
||||||
implementation("com.github.LagradOst:SafeFile:0.0.5")
|
implementation("com.github.LagradOst:SafeFile:0.0.5")
|
||||||
|
|
||||||
// API because cba maintaining it myself
|
// API because cba maintaining it myself
|
||||||
implementation("com.uwetrottmann.tmdb2:tmdb-java:2.6.0")
|
implementation("com.uwetrottmann.tmdb2:tmdb-java:2.10.0")
|
||||||
|
|
||||||
implementation("com.github.discord:OverlappingPanels:0.1.5")
|
implementation("com.github.discord:OverlappingPanels:0.1.5")
|
||||||
// debugImplementation because LeakCanary should only run in debug builds.
|
// debugImplementation because LeakCanary should only run in debug builds.
|
||||||
//debugImplementation("com.squareup.leakcanary:leakcanary-android:2.12")
|
// debugImplementation("com.squareup.leakcanary:leakcanary-android:2.12")
|
||||||
|
|
||||||
// for shimmer when loading
|
// for shimmer when loading
|
||||||
implementation("com.facebook.shimmer:shimmer:0.5.0")
|
implementation("com.facebook.shimmer:shimmer:0.5.0")
|
||||||
|
@ -252,7 +250,7 @@ dependencies {
|
||||||
|
|
||||||
// newpipe yt taken from https://github.com/TeamNewPipe/NewPipeExtractor/commits/dev
|
// newpipe yt taken from https://github.com/TeamNewPipe/NewPipeExtractor/commits/dev
|
||||||
// this should be updated frequently to avoid trailer fu*kery
|
// this should be updated frequently to avoid trailer fu*kery
|
||||||
implementation("com.github.teamnewpipe:NewPipeExtractor:1f08d28")
|
implementation("com.github.teamnewpipe:NewPipeExtractor:917554a")
|
||||||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.6")
|
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.6")
|
||||||
|
|
||||||
// Library/extensions searching with Levenshtein distance
|
// Library/extensions searching with Levenshtein distance
|
||||||
|
|
|
@ -7,21 +7,12 @@ import com.lagradost.cloudstream3.utils.ExtractorApi
|
||||||
import com.lagradost.cloudstream3.utils.ExtractorLink
|
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||||
import com.lagradost.cloudstream3.utils.M3u8Helper
|
import com.lagradost.cloudstream3.utils.M3u8Helper
|
||||||
|
|
||||||
class SpeedoStream2 : SpeedoStream() {
|
open class Minoplres : ExtractorApi() {
|
||||||
override val mainUrl = "https://speedostream.mom"
|
|
||||||
}
|
|
||||||
|
|
||||||
class SpeedoStream1 : SpeedoStream() {
|
override val name = "Minoplres" // formerly SpeedoStream
|
||||||
override val mainUrl = "https://speedostream.pm"
|
|
||||||
}
|
|
||||||
|
|
||||||
open class SpeedoStream : ExtractorApi() {
|
|
||||||
override val name = "SpeedoStream"
|
|
||||||
override val mainUrl = "https://speedostream.bond"
|
|
||||||
override val requiresReferer = true
|
override val requiresReferer = true
|
||||||
|
override val mainUrl = "https://minoplres.xyz" // formerly speedostream.bond
|
||||||
// .bond, .pm, .mom redirect to .bond
|
private val hostUrl = "https://minoplres.xyz"
|
||||||
private val hostUrl = "https://speedostream.bond"
|
|
||||||
|
|
||||||
override suspend fun getUrl(url: String, referer: String?): List<ExtractorLink> {
|
override suspend fun getUrl(url: String, referer: String?): List<ExtractorLink> {
|
||||||
val sources = mutableListOf<ExtractorLink>()
|
val sources = mutableListOf<ExtractorLink>()
|
|
@ -82,6 +82,7 @@ import com.lagradost.cloudstream3.extractors.Maxstream
|
||||||
import com.lagradost.cloudstream3.extractors.Mcloud
|
import com.lagradost.cloudstream3.extractors.Mcloud
|
||||||
import com.lagradost.cloudstream3.extractors.Megacloud
|
import com.lagradost.cloudstream3.extractors.Megacloud
|
||||||
import com.lagradost.cloudstream3.extractors.Meownime
|
import com.lagradost.cloudstream3.extractors.Meownime
|
||||||
|
import com.lagradost.cloudstream3.extractors.Minoplres
|
||||||
import com.lagradost.cloudstream3.extractors.MixDrop
|
import com.lagradost.cloudstream3.extractors.MixDrop
|
||||||
import com.lagradost.cloudstream3.extractors.MixDropBz
|
import com.lagradost.cloudstream3.extractors.MixDropBz
|
||||||
import com.lagradost.cloudstream3.extractors.MixDropCh
|
import com.lagradost.cloudstream3.extractors.MixDropCh
|
||||||
|
@ -118,9 +119,6 @@ import com.lagradost.cloudstream3.extractors.Sbthe
|
||||||
import com.lagradost.cloudstream3.extractors.Sendvid
|
import com.lagradost.cloudstream3.extractors.Sendvid
|
||||||
import com.lagradost.cloudstream3.extractors.ShaveTape
|
import com.lagradost.cloudstream3.extractors.ShaveTape
|
||||||
import com.lagradost.cloudstream3.extractors.Solidfiles
|
import com.lagradost.cloudstream3.extractors.Solidfiles
|
||||||
import com.lagradost.cloudstream3.extractors.SpeedoStream
|
|
||||||
import com.lagradost.cloudstream3.extractors.SpeedoStream1
|
|
||||||
import com.lagradost.cloudstream3.extractors.SpeedoStream2
|
|
||||||
import com.lagradost.cloudstream3.extractors.Ssbstream
|
import com.lagradost.cloudstream3.extractors.Ssbstream
|
||||||
import com.lagradost.cloudstream3.extractors.StreamM4u
|
import com.lagradost.cloudstream3.extractors.StreamM4u
|
||||||
import com.lagradost.cloudstream3.extractors.StreamSB
|
import com.lagradost.cloudstream3.extractors.StreamSB
|
||||||
|
@ -748,9 +746,7 @@ val extractorApis: MutableList<ExtractorApi> = arrayListOf(
|
||||||
Vido(),
|
Vido(),
|
||||||
Linkbox(),
|
Linkbox(),
|
||||||
Acefile(),
|
Acefile(),
|
||||||
SpeedoStream(),
|
Minoplres(), // formerly SpeedoStream
|
||||||
SpeedoStream1(),
|
|
||||||
SpeedoStream2(),
|
|
||||||
Zorofile(),
|
Zorofile(),
|
||||||
Embedgram(),
|
Embedgram(),
|
||||||
Mvidoo(),
|
Mvidoo(),
|
||||||
|
|
Loading…
Reference in a new issue