diff --git a/multisrc/overrides/animestream/animeytes/additional.gradle b/multisrc/overrides/animestream/animeytes/additional.gradle new file mode 100644 index 0000000000..ae4276801d --- /dev/null +++ b/multisrc/overrides/animestream/animeytes/additional.gradle @@ -0,0 +1,5 @@ +dependencies { + implementation(project(":lib-okru-extractor")) + implementation(project(":lib-streamtape-extractor")) + implementation(project(":lib-sendvid-extractor")) +} diff --git a/multisrc/overrides/animestream/animeytes/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/animestream/animeytes/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000000..e8eefd3e17 Binary files /dev/null and b/multisrc/overrides/animestream/animeytes/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/animestream/animeytes/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/animestream/animeytes/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000000..920fabd132 Binary files /dev/null and b/multisrc/overrides/animestream/animeytes/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/animestream/animeytes/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/animestream/animeytes/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000000..8513ab6273 Binary files /dev/null and b/multisrc/overrides/animestream/animeytes/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/animestream/animeytes/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/animestream/animeytes/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000000..c0ec23fcc6 Binary files /dev/null and b/multisrc/overrides/animestream/animeytes/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/animestream/animeytes/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/animestream/animeytes/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000000..20676264f6 Binary files /dev/null and b/multisrc/overrides/animestream/animeytes/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/animestream/animeytes/src/AnimeYTES.kt b/multisrc/overrides/animestream/animeytes/src/AnimeYTES.kt new file mode 100644 index 0000000000..7032193532 --- /dev/null +++ b/multisrc/overrides/animestream/animeytes/src/AnimeYTES.kt @@ -0,0 +1,30 @@ +package eu.kanade.tachiyomi.animeextension.es.animeytes + +import eu.kanade.tachiyomi.animesource.model.Video +import eu.kanade.tachiyomi.lib.okruextractor.OkruExtractor +import eu.kanade.tachiyomi.lib.sendvidextractor.SendvidExtractor +import eu.kanade.tachiyomi.lib.streamtapeextractor.StreamTapeExtractor +import eu.kanade.tachiyomi.multisrc.animestream.AnimeStream +import eu.kanade.tachiyomi.network.GET + +class AnimeYTES : AnimeStream( + "es", + "AnimeYT.es", + "https://animeyt.es", +) { + override val animeListUrl = "$baseUrl/tv" + + // ============================ Video Links ============================= + private val okruExtractor by lazy { OkruExtractor(client) } + private val streamtapeExtractor by lazy { StreamTapeExtractor(client) } + private val sendvidExtractor by lazy { SendvidExtractor(client, headers) } + + override fun getVideoList(url: String, name: String): List