From fa6bed8067232f6de77471f186721e4da03e4e18 Mon Sep 17 00:00:00 2001 From: Claudemirovsky <63046606+Claudemirovsky@users.noreply.github.com> Date: Thu, 26 Oct 2023 05:32:14 -0300 Subject: [PATCH] feat: Parallelmap moment --- .../animeextension/ar/arabseed/ArabSeed.kt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/ar/arabseed/src/eu/kanade/tachiyomi/animeextension/ar/arabseed/ArabSeed.kt b/src/ar/arabseed/src/eu/kanade/tachiyomi/animeextension/ar/arabseed/ArabSeed.kt index 755548ce99..59e012bdc0 100644 --- a/src/ar/arabseed/src/eu/kanade/tachiyomi/animeextension/ar/arabseed/ArabSeed.kt +++ b/src/ar/arabseed/src/eu/kanade/tachiyomi/animeextension/ar/arabseed/ArabSeed.kt @@ -18,6 +18,10 @@ import eu.kanade.tachiyomi.lib.streamwishextractor.StreamWishExtractor import eu.kanade.tachiyomi.lib.voeextractor.VoeExtractor import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.util.asJsoup +import kotlinx.coroutines.Dispatchers +import kotlinx.coroutines.async +import kotlinx.coroutines.awaitAll +import kotlinx.coroutines.runBlocking import okhttp3.Request import okhttp3.Response import org.jsoup.nodes.Document @@ -93,11 +97,11 @@ class ArabSeed : ConfigurableAnimeSource, ParsedAnimeHttpSource() { override fun videoListSelector() = "div.containerServers ul li" private fun videosFromElement(document: Document): List