diff --git a/multisrc/overrides/dooplay/pobreflix/additional.gradle b/multisrc/overrides/dooplay/pobreflix/additional.gradle new file mode 100644 index 0000000000..20848656b9 --- /dev/null +++ b/multisrc/overrides/dooplay/pobreflix/additional.gradle @@ -0,0 +1,4 @@ +dependencies { + implementation(project(":lib-filemoon-extractor")) + implementation(project(":lib-playlist-utils")) +} diff --git a/multisrc/overrides/dooplay/pobreflix/src/Pobreflix.kt b/multisrc/overrides/dooplay/pobreflix/src/Pobreflix.kt index 03b0c06d22..4bdf000c72 100644 --- a/multisrc/overrides/dooplay/pobreflix/src/Pobreflix.kt +++ b/multisrc/overrides/dooplay/pobreflix/src/Pobreflix.kt @@ -1,8 +1,11 @@ package eu.kanade.tachiyomi.animeextension.pt.pobreflix import android.util.Base64 +import eu.kanade.tachiyomi.animeextension.pt.pobreflix.extractors.EplayerExtractor +import eu.kanade.tachiyomi.animeextension.pt.pobreflix.extractors.MyStreamExtractor import eu.kanade.tachiyomi.animeextension.pt.pobreflix.extractors.PainelfxExtractor import eu.kanade.tachiyomi.animesource.model.Video +import eu.kanade.tachiyomi.lib.filemoonextractor.FilemoonExtractor import eu.kanade.tachiyomi.multisrc.dooplay.DooPlay import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.util.asJsoup @@ -21,19 +24,36 @@ class Pobreflix : DooPlay( override fun latestUpdatesRequest(page: Int) = GET("$baseUrl/series/page/$page/", headers) // ============================ Video Links ============================= + private val painelfxExtractor by lazy { PainelfxExtractor(client, headers, ::genericExtractor) } + private val eplayerExtractor by lazy { EplayerExtractor(client) } + private val filemoonExtractor by lazy { FilemoonExtractor(client) } + private val mystreamExtractor by lazy { MyStreamExtractor(client, headers) } + override fun videoListParse(response: Response): List