mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
sora: bump
This commit is contained in:
parent
5ab77abc39
commit
0cdada7e05
2 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 105
|
version = 106
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -1372,11 +1372,10 @@ object SoraExtractor : SoraStream() {
|
||||||
val qualities = getFDoviesQuality(quality)
|
val qualities = getFDoviesQuality(quality)
|
||||||
val fdLink = bypassFdAds(link)
|
val fdLink = bypassFdAds(link)
|
||||||
val videoLink = when {
|
val videoLink = when {
|
||||||
// pass due too many gdtot links
|
type.contains("gdtot") -> {
|
||||||
// type.contains("gdtot") -> {
|
val gdBotLink = extractGdbot(fdLink ?: return@apmap null)
|
||||||
// val gdBotLink = extractGdbot(fdLink ?: return@apmap null)
|
extractGdflix(gdBotLink ?: return@apmap null)
|
||||||
// extractGdflix(gdBotLink ?: return@apmap null)
|
}
|
||||||
// }
|
|
||||||
type.contains("oiya") -> {
|
type.contains("oiya") -> {
|
||||||
extractOiya(fdLink ?: return@apmap null, qualities)
|
extractOiya(fdLink ?: return@apmap null, qualities)
|
||||||
}
|
}
|
||||||
|
@ -2752,6 +2751,7 @@ object SoraExtractor : SoraStream() {
|
||||||
}
|
}
|
||||||
|
|
||||||
var res = app.get(url)
|
var res = app.get(url)
|
||||||
|
if(res.code == 403) return
|
||||||
if(!res.isSuccessful) res = searchWatchOnline(title, season, imdbId, tmdbId) ?: return
|
if(!res.isSuccessful) res = searchWatchOnline(title, season, imdbId, tmdbId) ?: return
|
||||||
|
|
||||||
val doc = res.document
|
val doc = res.document
|
||||||
|
|
Loading…
Reference in a new issue