diff --git a/multisrc/overrides/animestream/lmanime/additional.gradle b/multisrc/overrides/animestream/lmanime/additional.gradle index 09ce2e4c77..657bb83b61 100644 --- a/multisrc/overrides/animestream/lmanime/additional.gradle +++ b/multisrc/overrides/animestream/lmanime/additional.gradle @@ -1,4 +1,5 @@ dependencies { implementation(project(":lib-dailymotion-extractor")) - implementation(project(":lib-okru-extractor")) + implementation(project(":lib-mp4upload-extractor")) + implementation(project(":lib-streamwish-extractor")) } diff --git a/multisrc/overrides/animestream/lmanime/src/LMAnime.kt b/multisrc/overrides/animestream/lmanime/src/LMAnime.kt index f4f915fc02..e91a63d768 100644 --- a/multisrc/overrides/animestream/lmanime/src/LMAnime.kt +++ b/multisrc/overrides/animestream/lmanime/src/LMAnime.kt @@ -5,7 +5,8 @@ import androidx.preference.MultiSelectListPreference import androidx.preference.PreferenceScreen import eu.kanade.tachiyomi.animesource.model.Video import eu.kanade.tachiyomi.lib.dailymotionextractor.DailymotionExtractor -import eu.kanade.tachiyomi.lib.okruextractor.OkruExtractor +import eu.kanade.tachiyomi.lib.mp4uploadextractor.Mp4uploadExtractor +import eu.kanade.tachiyomi.lib.streamwishextractor.StreamWishExtractor import eu.kanade.tachiyomi.multisrc.animestream.AnimeStream import eu.kanade.tachiyomi.util.asJsoup import okhttp3.Response @@ -33,14 +34,17 @@ class LMAnime : AnimeStream( }.flatten().ifEmpty { throw Exception("Empty video list!") } } - private val okruExtractor by lazy { OkruExtractor(client) } + private val streamwishExtractor by lazy { StreamWishExtractor(client, headers) } private val dailyExtractor by lazy { DailymotionExtractor(client, headers) } + private val mp4uploadExtractor by lazy { Mp4uploadExtractor(client) } override fun getVideoList(url: String, name: String): List