From 50df43e0ac6a761058cc6aba9df1c63887f5d293 Mon Sep 17 00:00:00 2001 From: Claudemirovsky <63046606+Claudemirovsky@users.noreply.github.com> Date: Sat, 25 Nov 2023 07:36:14 -0300 Subject: [PATCH] refactor: Remove (now) unnecessary ifEmpty block --- .../kanade/tachiyomi/animeextension/en/gogoanime/GogoAnime.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/gogoanime/src/eu/kanade/tachiyomi/animeextension/en/gogoanime/GogoAnime.kt b/src/en/gogoanime/src/eu/kanade/tachiyomi/animeextension/en/gogoanime/GogoAnime.kt index 4a6e8aba4a..ddf4e8d6c6 100644 --- a/src/en/gogoanime/src/eu/kanade/tachiyomi/animeextension/en/gogoanime/GogoAnime.kt +++ b/src/en/gogoanime/src/eu/kanade/tachiyomi/animeextension/en/gogoanime/GogoAnime.kt @@ -168,7 +168,7 @@ class GogoAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() { ?: return@parallelCatchingFlatMap emptyList() getHosterVideos(className, serverUrl) - }.sort().ifEmpty { throw Exception("Failed to extract videos") } + }.sort() } private fun getHosterVideos(className: String, serverUrl: String): List