diff --git a/src/ar/tuktukcinema/build.gradle b/src/ar/tuktukcinema/build.gradle index 6f3a6331f9..7ed666e0b5 100644 --- a/src/ar/tuktukcinema/build.gradle +++ b/src/ar/tuktukcinema/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'توك توك سينما' pkgNameSuffix = 'ar.tuktukcinema' extClass = '.Tuktukcinema' - extVersionCode = 11 + extVersionCode = 12 libVersion = '13' } @@ -15,8 +15,9 @@ dependencies { implementation(project(':lib-dood-extractor')) implementation(project(':lib-streamtape-extractor')) implementation(project(':lib-vidbom-extractor')) - implementation "dev.datlag.jsunpacker:jsunpacker:1.0.1" + implementation(project(':lib-streamwish-extractor')) implementation(project(':lib-playlist-utils')) + implementation "dev.datlag.jsunpacker:jsunpacker:1.0.1" } apply from: "$rootDir/common.gradle" diff --git a/src/ar/tuktukcinema/src/eu/kanade/tachiyomi/animeextension/ar/tuktukcinema/Tuktukcinema.kt b/src/ar/tuktukcinema/src/eu/kanade/tachiyomi/animeextension/ar/tuktukcinema/Tuktukcinema.kt index f32df09079..ef9c035071 100644 --- a/src/ar/tuktukcinema/src/eu/kanade/tachiyomi/animeextension/ar/tuktukcinema/Tuktukcinema.kt +++ b/src/ar/tuktukcinema/src/eu/kanade/tachiyomi/animeextension/ar/tuktukcinema/Tuktukcinema.kt @@ -17,7 +17,7 @@ import eu.kanade.tachiyomi.animesource.model.Video import eu.kanade.tachiyomi.animesource.online.ParsedAnimeHttpSource import eu.kanade.tachiyomi.lib.doodextractor.DoodExtractor import eu.kanade.tachiyomi.lib.okruextractor.OkruExtractor -import eu.kanade.tachiyomi.lib.playlistutils.PlaylistUtils +import eu.kanade.tachiyomi.lib.streamwishextractor.StreamWishExtractor import eu.kanade.tachiyomi.lib.streamtapeextractor.StreamTapeExtractor import eu.kanade.tachiyomi.lib.uqloadextractor.UqloadExtractor import eu.kanade.tachiyomi.lib.vidbomextractor.VidBomExtractor @@ -137,7 +137,7 @@ class Tuktukcinema : ConfigurableAnimeSource, ParsedAnimeHttpSource() { override fun episodeFromElement(element: Element): SEpisode = throw Exception("not used") // ============================ video links ============================ - private val playlistUtils by lazy { PlaylistUtils(client, headers) } + private val streamWishExtractor by lazy { StreamWishExtractor(client, headers) } override fun videoListRequest(episode: SEpisode): Request { val refererHeaders = headers.newBuilder().apply { @@ -162,12 +162,8 @@ class Tuktukcinema : ConfigurableAnimeSource, ParsedAnimeHttpSource() { private fun extractVideos(url: String): List