diff --git a/multisrc/overrides/animestream/animexin/additional.gradle b/multisrc/overrides/animestream/animexin/additional.gradle index 9e49764fdd..151d6c7763 100644 --- a/multisrc/overrides/animestream/animexin/additional.gradle +++ b/multisrc/overrides/animestream/animexin/additional.gradle @@ -2,5 +2,6 @@ dependencies { implementation(project(':lib-dailymotion-extractor')) implementation(project(':lib-okru-extractor')) implementation(project(':lib-gdriveplayer-extractor')) + implementation(project(':lib-dood-extractor')) implementation "dev.datlag.jsunpacker:jsunpacker:1.0.1" } diff --git a/multisrc/overrides/animestream/animexin/src/AnimeXin.kt b/multisrc/overrides/animestream/animexin/src/AnimeXin.kt index 38d2e2ec95..9cc7d08928 100644 --- a/multisrc/overrides/animestream/animexin/src/AnimeXin.kt +++ b/multisrc/overrides/animestream/animexin/src/AnimeXin.kt @@ -2,11 +2,11 @@ package eu.kanade.tachiyomi.animeextension.all.animexin import androidx.preference.ListPreference import androidx.preference.PreferenceScreen -import eu.kanade.tachiyomi.animeextension.all.animexin.extractors.DoodExtractor import eu.kanade.tachiyomi.animeextension.all.animexin.extractors.VidstreamingExtractor import eu.kanade.tachiyomi.animeextension.all.animexin.extractors.YouTubeExtractor import eu.kanade.tachiyomi.animesource.model.Video import eu.kanade.tachiyomi.lib.dailymotionextractor.DailymotionExtractor +import eu.kanade.tachiyomi.lib.doodextractor.DoodExtractor import eu.kanade.tachiyomi.lib.gdriveplayerextractor.GdrivePlayerExtractor import eu.kanade.tachiyomi.lib.okruextractor.OkruExtractor import eu.kanade.tachiyomi.multisrc.animestream.AnimeStream @@ -19,33 +19,28 @@ class AnimeXin : AnimeStream( override val id = 4620219025406449669 // ============================ Video Links ============================= + private val dailymotionExtractor by lazy { DailymotionExtractor(client, headers) } + private val doodExtractor by lazy { DoodExtractor(client) } + private val gdrivePlayerExtractor by lazy { GdrivePlayerExtractor(client) } + private val okruExtractor by lazy { OkruExtractor(client) } + private val vidstreamingExtractor by lazy { VidstreamingExtractor(client) } + private val youTubeExtractor by lazy { YouTubeExtractor(client) } + override fun getVideoList(url: String, name: String): List