diff --git a/src/ar/egydead/build.gradle b/src/ar/egydead/build.gradle index 9e8dec1309..c73ba0a6ff 100644 --- a/src/ar/egydead/build.gradle +++ b/src/ar/egydead/build.gradle @@ -5,14 +5,14 @@ ext { extName = 'Egy Dead' pkgNameSuffix = 'ar.egydead' extClass = '.EgyDead' - extVersionCode = 7 + extVersionCode = 8 libVersion = '13' } dependencies { implementation(project(':lib-dood-extractor')) implementation(project(':lib-mixdrop-extractor')) - implementation('dev.datlag.jsunpacker:jsunpacker:1.0.1') + implementation(project(':lib-streamwish-extractor')) } apply from: "$rootDir/common.gradle" diff --git a/src/ar/egydead/src/eu/kanade/tachiyomi/animeextension/ar/egydead/EgyDead.kt b/src/ar/egydead/src/eu/kanade/tachiyomi/animeextension/ar/egydead/EgyDead.kt index 3d92bfb322..de22b6aa6e 100644 --- a/src/ar/egydead/src/eu/kanade/tachiyomi/animeextension/ar/egydead/EgyDead.kt +++ b/src/ar/egydead/src/eu/kanade/tachiyomi/animeextension/ar/egydead/EgyDead.kt @@ -7,7 +7,6 @@ import androidx.preference.EditTextPreference import androidx.preference.ListPreference import androidx.preference.PreferenceScreen import eu.kanade.tachiyomi.animeextension.BuildConfig -import dev.datlag.jsunpacker.JsUnpacker import eu.kanade.tachiyomi.animesource.ConfigurableAnimeSource import eu.kanade.tachiyomi.animesource.model.AnimeFilter import eu.kanade.tachiyomi.animesource.model.AnimeFilterList @@ -17,6 +16,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.mixdropextractor.MixDropExtractor +import eu.kanade.tachiyomi.lib.streamwishextractor.StreamWishExtractor import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.POST import eu.kanade.tachiyomi.util.asJsoup @@ -130,6 +130,8 @@ class EgyDead : ConfigurableAnimeSource, ParsedAnimeHttpSource() { } // ================================== video urls ================================== + private val streamWishExtractor by lazy { StreamWishExtractor(client, headers) } + override fun videoListParse(response: Response): List