From 060a66f40b94eb5bb07c31533a9b2501afe285be Mon Sep 17 00:00:00 2001 From: imper1aldev <23511335+imper1aldev@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:13:15 -0600 Subject: [PATCH] Update CineCalidad.kt --- .../animeextension/es/cinecalidad/CineCalidad.kt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/es/cinecalidad/src/eu/kanade/tachiyomi/animeextension/es/cinecalidad/CineCalidad.kt b/src/es/cinecalidad/src/eu/kanade/tachiyomi/animeextension/es/cinecalidad/CineCalidad.kt index bcef0da6..e4df8512 100644 --- a/src/es/cinecalidad/src/eu/kanade/tachiyomi/animeextension/es/cinecalidad/CineCalidad.kt +++ b/src/es/cinecalidad/src/eu/kanade/tachiyomi/animeextension/es/cinecalidad/CineCalidad.kt @@ -159,8 +159,7 @@ class CineCalidad : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } embedUrl.contains("uqload") -> UqloadExtractor(client).videosFromUrl(url) embedUrl.contains("mp4upload") -> Mp4uploadExtractor(client).videosFromUrl(url, headers) - embedUrl.contains("wishembed") || embedUrl.contains("streamwish") || embedUrl.contains("strwish") - || embedUrl.contains("wish") || embedUrl.contains("wishfast") -> { + embedUrl.contains("wishembed") || embedUrl.contains("streamwish") || embedUrl.contains("strwish") || embedUrl.contains("wish") || embedUrl.contains("wishfast") -> { val docHeaders = headers.newBuilder() .add("Origin", "https://streamwish.to") .add("Referer", "https://streamwish.to/") @@ -169,7 +168,7 @@ class CineCalidad : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } embedUrl.contains("doodstream") || embedUrl.contains("dood.") || embedUrl.contains("ds2play") || embedUrl.contains("doods.") -> { val url2 = url.replace("https://doodstream.com/e/", "https://dood.to/e/") - listOf(DoodExtractor(client).videoFromUrl(url2, "DoodStream", false)!!) + DoodExtractor(client).videosFromUrl(url2, "DoodStream", false) } embedUrl.contains("streamlare") -> StreamlareExtractor(client).videosFromUrl(url) embedUrl.contains("yourupload") || embedUrl.contains("upload") -> YourUploadExtractor(client).videoFromUrl(url, headers = headers) @@ -177,8 +176,7 @@ class CineCalidad : ConfigurableAnimeSource, ParsedAnimeHttpSource() { embedUrl.contains("fastream") -> FastreamExtractor(client, headers).videosFromUrl(url, prefix = "Fastream:") embedUrl.contains("upstream") -> UpstreamExtractor(client).videosFromUrl(url) embedUrl.contains("streamtape") || embedUrl.contains("stp") || embedUrl.contains("stape") -> listOf(StreamTapeExtractor(client).videoFromUrl(url, quality = "StreamTape")!!) - embedUrl.contains("ahvsh") || embedUrl.contains("streamhide") || embedUrl.contains("guccihide") || - embedUrl.contains("streamvid") || embedUrl.contains("vidhide") -> StreamHideVidExtractor(client).videosFromUrl(url) + embedUrl.contains("ahvsh") || embedUrl.contains("streamhide") || embedUrl.contains("guccihide") || embedUrl.contains("streamvid") || embedUrl.contains("vidhide") -> StreamHideVidExtractor(client).videosFromUrl(url) else -> emptyList() } }.getOrNull() ?: emptyList()