sora: bump

This commit is contained in:
hexated 2023-03-16 14:46:54 +07:00
parent 5ab77abc39
commit 0cdada7e05
2 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers // use an integer for version numbers
version = 105 version = 106
cloudstream { cloudstream {

View file

@ -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